namespace Avalonia.Threading { /// /// Defines the priorities with which jobs can be invoked on a . /// // TODO: These are copied from WPF - many won't apply to Avalonia. public enum DispatcherPriority { /// /// Minimum possible priority /// MinValue = 1, /// /// The job will be processed when the system is idle. /// SystemIdle = 1, /// /// The job will be processed when the application is idle. /// ApplicationIdle = 2, /// /// The job will be processed after background operations have completed. /// ContextIdle = 3, /// /// The job will be processed after other non-idle operations have completed. /// Background = 4, /// /// The job will be processed with the same priority as input. /// Input = 5, /// /// The job will be processed after layout and render but before input. /// Loaded = 6, /// /// The job will be processed with the same priority as render. /// Render = 7, /// /// The job will be processed with the same priority as render. /// Layout = 8, /// /// The job will be processed with the same priority as data binding. /// DataBind = 9, /// /// The job will be processed with normal priority. /// Normal = 10, /// /// The job will be processed before other asynchronous operations. /// Send = 11, /// /// Maximum possible priority /// MaxValue = 11 } }