Summary
Initializes a new instance of the
DispatcherTimer
class.
- Namespace
- Avalonia
.Threading - Containing Type
- DispatcherTimer
Syntax
public DispatcherTimer(TimeSpan interval, DispatcherPriority priority, EventHandler callback)
Parameters
Name | Type | Description |
---|---|---|
interval | TimeSpan | The interval at which to tick. |
priority | DispatcherPriority | The priority to use. |
callback | EventHandler | The event to call when the timer ticks. |
Return Value
Type | Description |
---|---|
void |