| UIControlFocusWhenMouseOver Property |
Gets or sets a value indicating whether the control automatically receives focus when the
mouse is over the control (without being clicked). 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 FocusWhenMouseOver { get; set; }
Public Property FocusWhenMouseOver As Boolean
Get
Set
public:
property bool FocusWhenMouseOver {
bool get ();
void set (bool value);
}
member FocusWhenMouseOver : bool with get, set
Property Value
Type:
Boolean if the control automatically receives focus when the mouse is over
the control; otherwise,
.
Remarks
This property can be set for menus where the focus (= the "selection") should follow the
mouse cursor.
See Also