MainThread.BeginInvokeOnMainThread(Action) Method

Definition

Invokes an action on the main thread of the application.

C#
public static void BeginInvokeOnMainThread(Action action);

Parameters

action
Action

The action to invoke on the main thread.

Applies to

Product Versions
.NET MAUI 8, 9