DispatcherObject.Dispatcher Property

Gets the Dispatcher this DispatcherObject is associated with.

Namespace:  System.Windows.Threading
Assembly:  WindowsBase (in WindowsBase.dll)

public Dispatcher Dispatcher { get; }
You cannot set this property in XAML.

Property Value

Type: System.Windows.Threading.Dispatcher
The dispatcher.

Only the thread that the Dispatcher was created on may access the DispatcherObject directly. To access a DispatcherObject from a thread other than the thread the DispatcherObject was created on, call Invoke and BeginInvoke on the Dispatcher the DispatcherObject is associated with.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft