Class PointerGestures
Singleton gesture markers used by simple widgets when capturing a pointer.
Reusing these avoids per-event heap allocation. Widgets that need to carry
extra state can implement IPointerGesture on their own type
and pass an instance to CapturePointer instead.
public static class PointerGestures
- Inheritance
-
PointerGestures
- Inherited Members
Properties
Drag
Generic drag (e.g. color wheel, slider thumb) — ancestors must not steal.
public static IDrag Drag { get; }
Property Value
DragHorizontalTentative
A horizontal-axis drag that is tentatively willing to yield to a vertical-axis ancestor (see IDragHorizontalTentative). Replace with Drag once horizontal motion has firmly committed.
public static IDragHorizontalTentative DragHorizontalTentative { get; }
Property Value
Tap
Generic tap (e.g. Button, Checkbox) — may be stolen by an ancestor drag.
public static ITap Tap { get; }