Gets a value indicating whether the current code is running on the UI thread.

Namespace: FirstFloor.Documents
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.1.0)

Syntax

C#
public bool IsUIThread { get; }
Visual Basic
Public ReadOnly Property IsUIThread As Boolean
	Get
Visual C++
public:
property bool IsUIThread {
	bool get ();
}

Field Value

true if this instance is UI thread; otherwise, false.

See Also