| ButtonIsDefault 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.ControlsAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax public bool IsDefault { get; set; }
Public Property IsDefault As Boolean
Get
Set
public:
property bool IsDefault {
bool get ();
void set (bool value);
}
member IsDefault : bool with 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