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.5.3-dev
Syntax
public static bool IsMainThread { get; }

Property Value

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