DispatcherTimer.Dispatcher Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the Dispatcher associated with this DispatcherTimer.

Namespace:   System.Windows.Threading
Assembly:  WindowsBase (in WindowsBase.dll)

public Dispatcher Dispatcher { get; }

Property Value

Type: System.Windows.Threading.Dispatcher

The dispatcher.

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.

.NET Framework
Available since 3.0
Return to top
Show: