Click or drag to resize
DigitalRuneButtonIsDefault Property
Gets or sets a value that indicates whether a Button is the default button. This is a game object property.

Namespace: DigitalRune.Game.UI.Controls
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public bool IsDefault { get; set; }

Property Value

Type: Boolean
if this Button is the default button; otherwise, . The default is .
Remarks
A user can activate the default button by pressing the ENTER or SPACE key on the keyboard or the A or START button on the gamepad.
See Also