Click or drag to resize

WaitCursorStartLocal Method (FrameworkElement, DispatcherPriority)

Sets the cursor property of the framework element 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 StartLocal(
	FrameworkElement frameworkElement,
	DispatcherPriority priority
)

Parameters

frameworkElement
Type: System.WindowsFrameworkElement
The element on which to set the cursor.
priority
Type: System.Windows.ThreadingDispatcherPriority
The dispatcher priority used for waiting.
See Also