ButtonBase.IsMouseOver Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a value indicating whether the finger is located over this button control.
Namespace: System.Windows.Controls.Primitives
Assembly: System.Windows (in System.Windows.dll)
Syntax
Public Property IsMouseOver As Boolean
public bool IsMouseOver { get; internal set; }
Property Value
Type: System..::.Boolean
true to indicate the finger is over the button control, otherwise false. The default is false.
Remarks
Dependency property identifier field: IsMouseOverProperty
IsMouseOver will not be set until OnMouseEnter has been called. Therefore, you should not rely on the accuracy of the IsMouseOver property in a handler for the MouseEnter event.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone