Share via


MainThread.IsMainThread Property

Definition

Gets if it is the current main UI thread.

public static bool IsMainThread { get; }

Property Value

System.Boolean

If main thread.

Applies to