Window.Dispatcher Property

Definition

Gets the CoreDispatcher object for the Window, which is generally the CoreDispatcher for the UI thread.

public:
 property CoreDispatcher ^ Dispatcher { CoreDispatcher ^ get(); };
CoreDispatcher Dispatcher();
public CoreDispatcher Dispatcher { get; }
var coreDispatcher = window.dispatcher;
Public ReadOnly Property Dispatcher As CoreDispatcher

Property Value

CoreDispatcher

An object that references the UI thread for the Window.

Applies to