| WaitCursorStart Method (FrameworkElement, DispatcherPriority) |
Sets the cursor property of the framework elements root visual to the "Wait" cursor and
automatically resets the cursor to the default cursor when the dispatcher becomes idle again.
Namespace:
TomsToolbox.Wpf
Assembly:
TomsToolbox.Wpf (in TomsToolbox.Wpf.dll)
Syntax public static void Start(
FrameworkElement frameworkElement,
DispatcherPriority priority
)
Public Shared Sub Start (
frameworkElement As FrameworkElement,
priority As DispatcherPriority
)
Parameters
- frameworkElement
- Type: System.WindowsFrameworkElement
An element in the visual tree to start looking for the root visual. - priority
- Type: System.Windows.ThreadingDispatcherPriority
The dispatcher priority used for waiting.
Remarks
The root visual usually is the whole window, except for controls embedded in native or WindowsForms windows.
See Also