Control::UseWaitCursor Property
Gets or sets a value indicating whether to use the wait cursor for the current control and all child controls.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [BrowsableAttribute(true)] property bool UseWaitCursor { bool get(); void set(bool value); }
Property Value
Type: System::Booleantrue to use the wait cursor for the current control and all child controls; otherwise, false. The default is false.
Use a wait cursor whenever you perform an operation that takes a noticeable amount of time.However, note that operations that block the UI thread will also block acursor change.Therefore, this property should only be used when performing time-consuming operations in another thread. To change the cursor globally and immediately, seethe Current property.
Available since 2.0