TextBoxBase.DefaultCursor 屬性

定義

取得或設定控制項的預設游標。

protected:
 virtual property System::Windows::Forms::Cursor ^ DefaultCursor { System::Windows::Forms::Cursor ^ get(); };
protected override System.Windows.Forms.Cursor DefaultCursor { get; }
member this.DefaultCursor : System.Windows.Forms.Cursor
Protected Overrides ReadOnly Property DefaultCursor As Cursor

屬性值

Cursor

類型 Cursor 的物件,代表目前的預設資料指標。

備註

覆寫 DefaultCursor 以設定控制項的預設游標。 這比在控制項的建構函式中設定資料指標更有效率,並自動支援特定資料指標相關的設計工具函式。

適用於