Struct TouchEventRef
Represents a platform-level input event containing one or more touch points, typically originating from a touchscreen or trackpad gesture.
public ref struct TouchEventRef
- Inherited Members
Remarks
This event is dispatched by the Actual
window and forwarded
to the Abstract
layer for routing through the view hierarchy.
It includes all active touch points for the current frame, allowing
gesture recognition, hit testing, and view interaction logic.
Constructors
TouchEventRef(ReadOnlySpan<Touch>)
Initializes a new instance of the TouchEventRef struct with the provided set of touch points.
public TouchEventRef(ReadOnlySpan<Touch> touches)
Parameters
touches
ReadOnlySpan<Touch>A span of active touch data.
Fields
Touches
A span of all current touch points involved in this event.
public readonly ReadOnlySpan<Touch> Touches