ButtonBase.IsPressed Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a value that indicates whether a ButtonBase is currently in a pressed state.
Assembly: System.Windows (in System.Windows.dll)
Property Value
Type: System.Booleantrue if the ButtonBase is in a pressed state; otherwise false. The default is false.
Dependency property identifier field: IsPressedProperty
The IsPressed property is the state of a button that indicates whether the finger, SPACEBAR key, or ENTER key is pressed when the button has focus.
Show: