DataGridView::UserSetCursor Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the default or user-specified value of the Cursor property.

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

property Cursor^ UserSetCursor {
	Cursor^ get();

Property Value

Type: System.Windows.Forms::Cursor^

A Cursor representing the normal value of the Cursor property.

Although you can set the value of the Cursor property, its value can change depending on the location of the mouse pointer. Use this property to retrieve the value of the Cursor property in its normal state, which is either its default value, or a value specified in code.

.NET Framework
Available since 2.0
Return to top