ExpPointerPointProperties Class

Definition

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

Provides extended properties for a ExpPointerPoint object.

public ref class ExpPointerPointProperties sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.LiftedExperimentalContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ExpPointerPointProperties final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.LiftedExperimentalContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ExpPointerPointProperties
Public NotInheritable Class ExpPointerPointProperties
Inheritance
ExpPointerPointProperties
Attributes
Windows.Foundation.Metadata.ContractVersionAttribute Windows.Foundation.Metadata.MarshalingBehaviorAttribute

Remarks

The ExpPointerPointProperties coordinate space is dependent on the context in which it is retrieved. When retrieved from Microsoft.UI.Xaml.Input.PointerRoutedEventArgs.GetCurrentPoint, the coordinates of the pointer will be relative to the provided UIElement in device independent pixels.

Note

Extended Human Interface Device (HID) usage data is not currently available on ExpPointerPointProperties objects.

Note

This class is not agile, which means its functions and properties may only be accessed on the UI thread from where it was retrieved. Access on a different thread will return RPC_E_WRONG_THREAD or the equivalent projected error type.

Properties

ContactRect

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

ContactRectRaw

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

IsBarrelButtonPressed

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

IsCanceled

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

IsEraser

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

IsHorizontalMouseWheel

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

IsInRange

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

IsInverted

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

IsLeftButtonPressed

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

IsMiddleButtonPressed

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

IsPrimary

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

IsRightButtonPressed

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

IsXButton1Pressed

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

IsXButton2Pressed

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

MouseWheelDelta

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

Orientation

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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).

PointerUpdateKind

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

Gets the kind of pointer state change.

Pressure

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

TouchConfidence

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

Twist

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

Caution

This API is in development and considered experimental in the WinUI version selected. It might be altered or unavailable in other versions.

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

See also