Skip to main content

DispatcherTimer(DispatcherPriority) Constructor

Creates a timer that uses the UI thread's Dispatcher2 to process the timer event at the specified priority.

Definition​

Namespace: Avalonia.Threading
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public DispatcherTimer(
DispatcherPriority priority
)

Parameters​

  DispatcherPriority
The priority to process the timer at.

See Also​

Reference​

DispatcherTimer Class
DispatcherTimer Overload
Avalonia.Threading Namespace