Back to API Reference
Class

RangeInteraction

sealed

Mutable, borrowed event context passed synchronously through capture, target and bubble routing. Copy values needed after the callback; the router reuses the instance after dispatch returns.

public RangeInteractionKind Kind{ get; set }

Kind of semantic or gesture event being routed.

public RangeInteractionRoute Route{ get; set }

Current capture, target or bubble route location.

public RangeChannel Channel{ get; set }

Stable semantic channel, or null for modifier-local routing.

public RangeSource Source{ get; set }

Range source that owns the entity.

public RangeIdentity Entity{ get; set }

Stable source-scoped entity identity.

public RangeSegment HitSegment{ get; set }

Concrete segment hit by this event.

public RangePayloadView Payload{ get; set }

Typed read-only semantic value carried by the entity.

public TextRevision Revision{ get; set }

Rendered-text revision against which the event target was resolved.

public InteractiveRange Range{ get; set }

Attributed interactive target owned by the target modifier.

public TextHitResult TextHit{ get; set }

Text hit corresponding to the concrete visual fragment.

public PointerTrigger Trigger{ get; set }

Input trigger that produced the event.

public PointerKind PointerKind{ get; set }

Physical pointer class. Keyboard events set HasPointer to false.

public int PointerId{ get; set }

Platform pointer identity, valid only when HasPointer is true.

public bool HasPointer{ get; set }

Whether pointer positions and identity are present.

public Vector2 ScreenPosition{ get; set }

Pointer position in screen coordinates.

public Vector2 LocalPosition{ get; set }

Pointer position in component-local coordinates.

public Camera EventCamera{ get; set }

Camera used to convert the originating pointer coordinates.

public PointerModifiers Modifiers{ get; set }

Keyboard modifiers held when the event was emitted.

public Rect AnchorRect{ get; set }

Component-local union bounds suitable for popovers and accessibility.

public RangeState PreviousState{ get; set }

Previous state for StateChanged.

public RangeState State{ get; set }

Current state for StateChanged.

public RangeInteractionSignal Signal{ get; set }

Independent signal changed by a state event.

public bool PreviousSignalValue{ get; set }

Previous boolean value of Signal.

public bool SignalValue{ get; set }

Current boolean value of Signal.

public float Progress{ get; set }

Normalized gesture progress for LongPressProgress.

public RangeGestureRecognizer GestureRecognizer{ get; set }

Custom recognizer responsible for Gesture.

public RangeGesturePhase GesturePhase{ get; set }

Custom lifecycle phase for Gesture.

public bool Handled{ get; set }

Whether a handler stopped the remaining capture/target/bubble route.

public bool DefaultPrevented{ get; set }

Whether the target's built-in action must be skipped after user handlers return.

public void Handle()

Stops later route stages without canceling the built-in action.

public void PreventDefault()

Cancels the built-in action without implicitly stopping event propagation.