Window.DispatcherQueue Property  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the DispatcherQueue object for the window.
public:
 property DispatcherQueue ^ DispatcherQueue { DispatcherQueue ^ get(); };
	DispatcherQueue DispatcherQueue();
	public DispatcherQueue DispatcherQueue { get; }
	var dispatcherQueue = window.dispatcherQueue;
	Public ReadOnly Property DispatcherQueue As DispatcherQueue
	Property Value
The DispatcherQueue object for the window.
Remarks
The DispatcherQueue represents a facility that can access the DependencyObject on the UI thread even if the code is initiated by a non-UI thread.
Most members of the Window class can only be accessed when running on the thread the object was created on. However, this property can be called from any thread.