UI Toolkit provides events that communicate user actions or notifications to visual elements. The UI Toolkit event system shares the same terminology and event naming as HTML events.
Topic | 描述 |
---|---|
Dispatch events | Understand the event dispatch behavior, propagation, and target. |
Capture the pointer with a manipulator | Capture the pointer to ensure an element receives all subsequent pointer events. |
Handle event callbacks and value changes | Learn how to handle event callbacks and value changes. |
Focus order of elements | Understand the focus order of elements. |
Respond to events with custom controls | Learn how to respond to events with custom controls. |
Manipulators | Use manipulators to handle events. |
Synthesize and send events | Learn how to synthesize and send events from an example. |
Event reference | Understand behavior and characteristics of each event. |