Class ThreadHelper
Helper class to identify the Main thread.
Inheritance
System.Object
ThreadHelper
Namespace: Syncfusion.XForms.Core
Assembly: Syncfusion.Core.XForms.dll
Syntax
public static class ThreadHelper : Object
Properties
IsOnMainThread
Gets if the current thread is the main UI thread.
Declaration
public static bool IsOnMainThread { get; }
Property Value
Type |
---|
System.Boolean |
Methods
Initialize(Int32)
Declaration
public static void Initialize(int mainThreadId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | mainThreadId |