This documentation is archived and is not being maintained.

Application.UseWaitCursor Property

Gets or sets whether the wait cursor is used for all open forms of the application.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

public static bool UseWaitCursor { get; set; }
/** @property */
public static boolean get_UseWaitCursor ()

/** @property */
public static void set_UseWaitCursor (boolean value)

public static function get UseWaitCursor () : boolean

public static function set UseWaitCursor (value : boolean)

Not applicable.

Property Value

true is the wait cursor is used for all open forms; otherwise, false.

When this property is set to true, the UseWaitCursor property of all open forms in the application will be set to true. This call will not return until this property has been set on all forms. Use this property when you have a long-running operation, and want to indicate in all application forms that the operation is still processing.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: