Table of Contents

Class EventRouter

Namespace
Xui.Core.UI.Input
Assembly
Xui.Core.dll
public class EventRouter
Inheritance
EventRouter
Inherited Members

Constructors

EventRouter(View)

public EventRouter(View rootView)

Parameters

rootView View

Methods

CapturePointer(View, int)

public void CapturePointer(View view, int pointerId)

Parameters

view View
pointerId int

Dispatch(ref MouseDownEventRef)

public void Dispatch(ref MouseDownEventRef e)

Parameters

e MouseDownEventRef

Dispatch(ref MouseMoveEventRef)

public void Dispatch(ref MouseMoveEventRef e)

Parameters

e MouseMoveEventRef

Dispatch(ref MouseUpEventRef)

public void Dispatch(ref MouseUpEventRef e)

Parameters

e MouseUpEventRef

Dispatch(ref ScrollWheelEventRef, Point)

Dispatches a scroll wheel event to the deepest view under position that handles it, bubbling up until Handled is set.

public void Dispatch(ref ScrollWheelEventRef e, Point position)

Parameters

e ScrollWheelEventRef
position Point

Dispatch(ref TouchEventRef)

public void Dispatch(ref TouchEventRef touchEvent)

Parameters

touchEvent TouchEventRef

ReleasePointer(View, int)

public void ReleasePointer(View view, int pointerId)

Parameters

view View
pointerId int