AvaloniaSynchronizationContext Class

Summary

SynchronizationContext to be used on main thread
Namespace
Avalonia.Threading
Base Types
  • object
  • SynchronizationContext
graph BT Type-->Base0["SynchronizationContext"] Base0-->Base1["object"] Type["AvaloniaSynchronizationContext"] class Type type-node

Syntax

public class AvaloniaSynchronizationContext : SynchronizationContext

Properties

Name Value Summary
AutoInstall bool
Controls if SynchronizationContext should be installed in InstallIfNeeded. Used by Designer.
static

Methods

Name Value Summary
InstallIfNeeded() void
Installs synchronization context in current thread
static
Post(SendOrPostCallback, object) void
Send(SendOrPostCallback, object) void