Export (0) Print
Expand All

MouseDevice.GetButtonState Method

Gets the state of the specified mouse button.

Namespace:  System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

protected MouseButtonState GetButtonState(
	MouseButton mouseButton
)

Parameters

mouseButton
Type: System.Windows.Input.MouseButton

The button which is being queried.

Return Value

Type: System.Windows.Input.MouseButtonState
The state of the button.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft