DataGridView.UserSetCursor 属性

定义

获取 Cursor 属性的默认值或用户指定值。Gets the default or user-specified value of the Cursor property.

public:
 property System::Windows::Forms::Cursor ^ UserSetCursor { System::Windows::Forms::Cursor ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.Cursor UserSetCursor { get; }
member this.UserSetCursor : System.Windows.Forms.Cursor
Public ReadOnly Property UserSetCursor As Cursor

属性值

一个 Cursor,表示 Cursor 属性的正常值。A Cursor representing the normal value of the Cursor property.

属性

注解

尽管可以设置 Cursor 属性的值,但根据鼠标指针的位置,其值可能会发生变化。Although you can set the value of the Cursor property, its value can change depending on the location of the mouse pointer. 使用此属性可以检索其正常状态(即其默认值)或在代码中指定的值的 Cursor 属性的值。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.

适用于

另请参阅