DispatcherTimer.Dispatcher Property

Definition

Gets the Dispatcher associated with this DispatcherTimer.

public System.Windows.Threading.Dispatcher Dispatcher { get; }

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

產品 版本
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10