Class EventRouter
Routes platform-level input events through the view hierarchy, translating them into abstract pointer events. Handles pointer capture, enter/leave events, and event phase delivery (tunneling and bubbling).
public class EventRouter
- Inheritance
-
EventRouter
- Inherited Members
Constructors
EventRouter(View)
Initializes a new instance of the EventRouter class, responsible for translating platform input events and dispatching them through the view hierarchy starting from the specified root view.
public EventRouter(View rootView)
Parameters
rootView
ViewThe root view of the window hierarchy that will receive routed pointer events.
Methods
Dispatch(ref TouchEventRef)
Dispatches a touch event, normalizing it into abstract pointer events.
public void Dispatch(ref TouchEventRef touchEvent)
Parameters
touchEvent
TouchEventRefThe touch event to dispatch.