Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PointerPointProperties Class

Definition

Namespace:
Microsoft.UI.Input

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Provides extended properties for a PointerPoint object.

public ref class PointerPointProperties sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PointerPointProperties final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PointerPointProperties
Public NotInheritable Class PointerPointProperties
Inheritance
Object Platform::Object IInspectable PointerPointProperties
Attributes

Properties

Name Description
ContactRect

Gets the bounding rectangle of the contact area (typically from touch input).

IsBarrelButtonPressed

Gets a value that indicates whether the barrel button of the pen/stylus device is pressed.

IsCanceled

Gets a value that indicates whether the input was canceled by the pointer device.

IsEraser

Gets a value that indicates whether the input is from a pen eraser.

IsHorizontalMouseWheel

Gets a value that indicates whether the input is from a mouse tilt wheel.

IsInRange

Gets a value that indicates whether the pointer device is within detection range of a sensor or digitizer (the pointer continues to exist).

IsInverted

Gets a value that indicates whether the digitizer pen is inverted.

IsLeftButtonPressed

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

IsMiddleButtonPressed

Gets a value that indicates whether the pointer input was triggered by the tertiary action mode of an input device (such as the mouse wheel button).

IsPrimary

Gets a value that indicates whether the input is from the primary pointer when multiple pointers are registered.

IsRightButtonPressed

Gets a value that indicates whether the pointer input was triggered by the secondary action mode (if supported) of an input device.

IsXButton1Pressed

Gets a value that indicates whether the pointer input was triggered by the first extended mouse button (XButton1).

IsXButton2Pressed

Gets a value that indicates whether the pointer input was triggered by the second extended mouse button (XButton2).

MouseWheelDelta

Gets a value (the raw value reported by the device) that indicates the change in wheel button input from the last pointer event.

Orientation

Gets the counter-clockwise angle of rotation around the major axis of the pointer device (the z-axis, perpendicular to the surface of the digitizer). A value of 0.0 degrees indicates the device is oriented towards the top of the digitizer.

PointerUpdateKind

Gets the type of pointer state change.

Pressure

Gets a value that indicates the force that the pointer device (typically a pen/stylus) exerts on the surface of the digitizer.

TouchConfidence

Gets a value that indicates whether the pointer device rejected the touch contact.

Twist

Gets the clockwise rotation in degrees of a pen device around its own major axis (such as when the user spins the pen in their fingers).

XTilt

Gets the plane angle between the Y-Z plane and the plane that contains the Y axis and the axis of the input device (typically a pen/stylus).

YTilt

Gets the plane angle between the X-Z plane and the plane that contains the X axis and the axis of the input device (typically a pen/stylus).

Applies to


Feedback

Was this page helpful?