System.Windows.Forms.Control.Cursor Property

Gets or sets the cursor that is displayed when the mouse pointer is over the control.


public virtual Cursor Cursor { set; get; }


Documentation for this section has not yet been entered.


Assign a System.Windows.Forms.Cursor to the Control.Cursor property of the control to change the cursor displayed when the mouse pointer is over the control. To temporarily change the mouse cursor for all controls on your application set the Cursor.Current property. Typically you would set the Cursor.Current property to a wait cursor when populating a System.Windows.Forms.ComboBox or saving or loading a file.

The Control.Cursor property is an ambient property. An ambient property is a control property that, if not set, is retrieved from the parent control. For example, a System.Windows.Forms.Button will have the same Control.BackColor as its parent System.Windows.Forms.Form by default. For more information about ambient properties, see the System.Windows.Forms.AmbientProperties class or the System.Windows.Forms.Control class overview.


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