IsOnlyButtonPressed Method
IsOnlyButtonPressed(MouseEventArgs, MouseButton)
Checks if button
is the only button that is currently pressed.
Declaration
public static bool IsOnlyButtonPressed(MouseEventArgs e, MouseButton button)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseEventArgs | e | |
System.Windows.Input.MouseButton | button |
Returns
Type | Description |
---|---|
System.Boolean |