Determines whether the current code is executing on the UI thread.

Namespace: FirstFloor.SilverlightSpy.Interop
Assembly: FirstFloor.SilverlightSpy.Interop (in FirstFloor.SilverlightSpy.Interop.dll) Version: 4.0.0.0 (4.0.5.0)

Syntax

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

Field Value

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

See Also