Class AvaloniaTouchDispatcher
Provides touch event dispatching for Avalonia platform, integrating with Evergine pointer system.
Inherited Members
Namespace: Evergine.Avalonia
Assembly: Evergine.Avalonia.dll
Syntax
public class AvaloniaTouchDispatcher : PointerDispatcher
Constructors
AvaloniaTouchDispatcher()
Initializes a new instance of the AvaloniaTouchDispatcher class.
Declaration
public AvaloniaTouchDispatcher()
Methods
Attach(InputElement)
Attaches the dispatcher to the specified Avalonia.Input.InputElement, subscribing to pointer events.
Declaration
public void Attach(InputElement control)
Parameters
| Type | Name | Description |
|---|---|---|
| InputElement | control | The Avalonia.Input.InputElement to attach to. |
Detach()
Detaches the dispatcher from the currently attached Avalonia.Input.InputElement, unsubscribing from pointer events.
Declaration
public void Detach()
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()