DispatcherPriority Enum

Summary

Defines the priorities with which jobs can be invoked on a Dispatcher.
Namespace
Avalonia.Threading
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] Type["DispatcherPriority"] class Type type-node

Syntax

public enum DispatcherPriority

Fields

Name Constant Value Summary
ApplicationIdle 2
The job will be processed when the application is idle.
static
Background 4
The job will be processed after other non-idle operations have completed.
static
ContextIdle 3
The job will be processed after background operations have completed.
static
DataBind 9
The job will be processed with the same priority as data binding.
static
Input 5
The job will be processed with the same priority as input.
static
Layout 8
The job will be processed with the same priority as render.
static
Loaded 6
The job will be processed after layout and render but before input.
static
MaxValue 11
Maximum possible priority
static
MinValue 1
Minimum possible priority
static
Normal 10
The job will be processed with normal priority.
static
Render 7
The job will be processed with the same priority as render.
static
Send 11
The job will be processed before other asynchronous operations.
static
SystemIdle 1
The job will be processed when the system is idle.
static

Extension Methods