Click or drag to resize
DigitalRuneUIControlFocusWhenMouseOver 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.Controls
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public bool FocusWhenMouseOver { 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