Click or drag to resize
DigitalRuneUIControlIsMouseOver Property
Gets or sets a value indicating whether the mouse is over this control or over a visual child. 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 IsMouseOver { get; }

Property Value

Type: Boolean
if the mouse is over this control or over a visual child; otherwise, .
Remarks

Use IsMouseDirectlyOver to check if the mouse is over this control but not over a visual child.

IsMouseOver is set automatically before the input is handled (before OnHandleInput(InputContext)) and IsMouseDirectlyOver is set after all visual children have handled the input.

See Also