DispatcherPost(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) Version: 11.3.999
public void Post(
	SendOrPostCallback action,
	Object? arg,
	DispatcherPriority priority = default
)

Parameters

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

See Also