Specifies the possible states of a mouse button.
Assembly: PresentationCore (in PresentationCore.dll)
The button is pressed.
The button is released.
Theenumeration specifies constants which correlate to the state of a mouse button.
Legacy Code Example
The following example shows a mouse event handler that determines which buttons are currently pressed by checking the button state of each mouse button.Code snippet is not found. Confirm that the code snippet name 'mousesnippetsample' is correct.
Available since 3.0