Application.UseWaitCursor Property

Note: This property is new in the .NET Framework version 2.0.

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

Public Shared Property UseWaitCursor As Boolean
Dim value As Boolean

value = Application.UseWaitCursor

Application.UseWaitCursor = value
/** @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)

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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0