Redigera

Dela via


DispatcherTimer.Dispatcher Property

Definition

Gets the Dispatcher associated with this DispatcherTimer.

public:
 property System::Windows::Threading::Dispatcher ^ Dispatcher { System::Windows::Threading::Dispatcher ^ get(); };
public System.Windows.Threading.Dispatcher Dispatcher { get; }
member this.Dispatcher : System.Windows.Threading.Dispatcher
Public ReadOnly Property Dispatcher As Dispatcher

Property Value

The dispatcher.

Remarks

The Dispatcher property is determined at the creation of the DispatcherTimer object. The Dispatcher property is set to the current Dispatcher at the time of creation unless a different Dispatcher is specified.

Applies to