Dela via


PointerPointProperties.IsMiddleButtonPressed Property

Definition

Gets a value that indicates whether the pointer input was triggered by the tertiary action mode of an input device.

public:
 property bool IsMiddleButtonPressed { bool get(); };
bool IsMiddleButtonPressed();
public bool IsMiddleButtonPressed { get; }
var boolean = pointerPointProperties.isMiddleButtonPressed;
Public ReadOnly Property IsMiddleButtonPressed As Boolean

Property Value

Boolean

bool

True if the tertiary action mode; otherwise false.

Remarks

Examples of tertiary action modes for various input devices:

  • A touch pointer does not set this property.
  • A pen pointer does not set this property.
  • A mouse pointer when the mouse wheel button is pressed.

Applies to

See also