 | WaitCursorStart(FrameworkElement, DispatcherPriority) Method |
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.WpfAssembly: TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntaxpublic static void Start(
FrameworkElement frameworkElement,
DispatcherPriority priority
)
Public Shared Sub Start (
frameworkElement As FrameworkElement,
priority As DispatcherPriority
)
Parameters
- frameworkElement FrameworkElement
- An element in the visual tree to start looking for the root visual.
- priority DispatcherPriority
- 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