Click or drag to resize
DigitalRuneUIControlAutoUnfocus Property
Gets or sets a value indicating whether this control clears the focus when the mouse clicks another control than the currently focused control. 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 AutoUnfocus { get; set; }

Property Value

Type: Boolean
if this control clears the focus when a control other than the currently focused control is clicked; otherwise, .
Remarks
For UIScreens the property AutoUnfocus is usually set because when the user clicks the screen he/she usually wants to interact with the 3D scene behind the screen. The currently selected control should lose the focus.
See Also