In This Article

InputPointerButtonEventArgs Class

Provides event data for pointer button input events.

public class InputPointerButtonEventArgs : InputPointerEventArgs
Inheritance:
object EventArgs InputPointerEventArgs object

Constructors

InputPointerButtonEventArgs(InputEventArgs, InputPointerButtonKind)

Provides event data for pointer button input events.

public InputPointerButtonEventArgs(InputEventArgs e, InputPointerButtonKind buttonKind)
Parameter Type Description
e InputEventArgs

The wrapped event arguments.

buttonKind InputPointerButtonKind

A InputPointerButtonKind indicating the button kind.

Properties

ButtonKind

A InputPointerButtonKind indicating the button kind.

public InputPointerButtonKind ButtonKind { get; }

Property Value

InputPointerButtonKind

IsPrimaryButton

Indicates whether the pressed button is a primary button (left mouse button, primary stylus button, etc.).

public bool IsPrimaryButton { get; }

Property Value

bool:

true if pressed button is a primary button; otherwise, false.

Inherited Members

Extension Methods