Skip to main content

Post(SendOrPostCallback, Object, DispatcherPriority) Method

Posts an action that will be invoked on the dispatcher thread.

Definition

Namespace: Avalonia.Threading
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public void Post(
SendOrPostCallback action,
Object? arg,
DispatcherPriority priority = default
)
View Source

Parameters

  SendOrPostCallback
The method.
  Object
The argument of method to call.
  DispatcherPriority  (Optional)
The priority with which to invoke the method.

See Also

Reference

Dispatcher Class
Post Overload
Avalonia.Threading Namespace