DispatcherPriority Struct
Definition
Defines the priorities with which jobs can be invoked on a Avalonia.Threading.Dispatcher.
public struct DispatcherPriority
Methods
| Name | Description |
|---|---|
| CompareTo | No summary available. |
| Equals (2 overloads) | No summary available. |
| FromValue | No summary available. |
| GetHashCode | No summary available. |
| ToString | No summary available. |
| Validate | No summary available. |
CompareTo Method
public int CompareTo(Avalonia.Threading.DispatcherPriority other)
Parameters
other Avalonia.Threading.DispatcherPriority
Returns
int
Equals overloads
Equals Method
public bool Equals(Avalonia.Threading.DispatcherPriority other)
Parameters
other Avalonia.Threading.DispatcherPriority
Returns
bool
Equals Method
public bool Equals(object obj)
Parameters
obj object
Returns
bool
FromValue Method
public Avalonia.Threading.DispatcherPriority FromValue(int value)
Parameters
value int
Returns
GetHashCode Method
public int GetHashCode()
Returns
int
ToString Method
public string ToString()
Returns
string
Validate Method
public void Validate(Avalonia.Threading.DispatcherPriority priority, string parameterName)
Parameters
priority Avalonia.Threading.DispatcherPriority
parameterName string
Properties
| Name | Description |
|---|---|
| Value | The integer value of the priority |
Value Property
The integer value of the priority
public int Value { get; set; }
Fields
| Name | Description |
|---|---|
| ApplicationIdle | The job will be processed when the application is idle. |
| Background | The job will be processed after other non-idle operations have completed. |
| ContextIdle | The job will be processed after background operations have completed. |
| DataBind | The job will be processed with the same priority as data binding. |
| Default | The lowest foreground dispatcher priority |
| Inactive | A dispatcher priority for jobs that shouldn't be executed yet |
| Input | The job will be processed with the same priority as input. |
| Invalid | Used internally in dispatcher code |
| Loaded | The job will be processed after layout and render but before input. |
| MaxValue | Maximum possible priority |
| Normal | The job will be processed with normal priority. |
| Render | The job will be processed with the same priority as render. |
| Send | The job will be processed before other asynchronous operations. |
| SystemIdle | The job will be processed when the system is idle. |
ApplicationIdle Field
The job will be processed when the application is idle.
public Avalonia.Threading.DispatcherPriority ApplicationIdle
Background Field
The job will be processed after other non-idle operations have completed.
public Avalonia.Threading.DispatcherPriority Background
ContextIdle Field
The job will be processed after background operations have completed.
public Avalonia.Threading.DispatcherPriority ContextIdle
DataBind Field
The job will be processed with the same priority as data binding.
public Avalonia.Threading.DispatcherPriority DataBind
Default Field
The lowest foreground dispatcher priority
public Avalonia.Threading.DispatcherPriority Default
Inactive Field
A dispatcher priority for jobs that shouldn't be executed yet
public Avalonia.Threading.DispatcherPriority Inactive
Input Field
The job will be processed with the same priority as input.
public Avalonia.Threading.DispatcherPriority Input
Invalid Field
Used internally in dispatcher code
public Avalonia.Threading.DispatcherPriority Invalid
Loaded Field
The job will be processed after layout and render but before input.
public Avalonia.Threading.DispatcherPriority Loaded
MaxValue Field
Maximum possible priority
public Avalonia.Threading.DispatcherPriority MaxValue
Normal Field
The job will be processed with normal priority.
public Avalonia.Threading.DispatcherPriority Normal
Render Field
The job will be processed with the same priority as render.
public Avalonia.Threading.DispatcherPriority Render
Send Field
The job will be processed before other asynchronous operations.
public Avalonia.Threading.DispatcherPriority Send
SystemIdle Field
The job will be processed when the system is idle.
public Avalonia.Threading.DispatcherPriority SystemIdle