Events
Handle events that are sent to and from controls when you interact with them.
When a user interacts with your app, you need to know what action the user has taken so you can respond appropriately. You can handle simple events, such as taps or touches, and you can also handle more complicated events and gestures, such as long presses, pinches, or double taps. You can define exactly how your app responds to user input, and change the behavior of touch events and touch propagation.
Additional resources
To learn more about handling touch events in your apps, visit the Touch interaction documentation.
To download code samples that demonstrate how to handle touch events, visit the Sample Apps page and the Cascades Samples repository in Github.
Members
- AbstractGestureEvent
- ActiveTextTriggeredEvent
- ContextMenuShowingEvent
- DoubleTapEvent
- DoubleTapHandler
- Event
- EventReaction
- GestureHandler
- KeyEvent
- KeyListener
- LongPressEvent
- LongPressHandler
- OverlapTouchPolicy
- PinchEvent
- PinchHandler
- PropagationPhase
- Shortcut -
Represents a shortcut that can be invoked on objects that inherit from Control, AbstractPane, and AbstractActionItem.
- SystemShortcut -
Represents a Shortcut that can be invoked on objects that inherit from Control, AbstractPane, and AbstractActionItem.
- SystemShortcuts
- TapEvent
- TapHandler
- TouchBehavior -
A series of touch-input reactions that can be added to a VisualNode.
- TouchEnterEvent -
The touch enter event is sent as parameter to the touchEnter signal from VisualNode.
- TouchEvent
- TouchExitEvent -
The touch exit event is sent as parameter to the touchExit signal from VisualNode.
- TouchPropagationMode
- TouchReaction
- TouchResponse
- TouchType