System.Windows.Forms.Control.UseWaitCursor Property

Gets or sets a value indicating whether to use the wait cursor for the current control and all child controls.

Syntax

[System.ComponentModel.DefaultValue(false)]
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Always)]
public bool UseWaitCursor { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

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 a cursor change. Therefore, this property should only be used when performing time-consuming operations in another thread. To change the cursor globally and immediately, see the Cursor.Current property.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0