Click or drag to resize

ThreadIsMainThread Property

Gets a value indicating if the current thread is the main UI thread.

Namespace:  Eto.Threading
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
public static bool IsMainThread { get; }

Property Value

Type: Boolean
true if the current thread is the main UI thread; otherwise, false.
See Also