Gets the Dispatcher this DispatcherObject is associated with.
Public ReadOnly Property Dispatcher As Dispatcher
Dim instance As DispatcherObject Dim value As Dispatcher value = instance.Dispatcher
public Dispatcher Dispatcher { get; }
public: property Dispatcher^ Dispatcher { Dispatcher^ get (); }
public function get Dispatcher () : Dispatcher
You cannot set this property in XAML.
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