Udostępnij za pośrednictwem


ButtonBase.IsPointerOver Property

Definition

Gets a value that indicates whether a device pointer is located over this button control.

public:
 property bool IsPointerOver { bool get(); };
bool IsPointerOver();
public bool IsPointerOver { get; }
var boolean = buttonBase.isPointerOver;
Public ReadOnly Property IsPointerOver As Boolean

Property Value

Boolean

bool

True if a pointer is over the button control; otherwise false. The default is false.

Applies to