DataGridViewElement.State 屬性

定義

取得該元素的使用者介面(UI)狀態。

public:
 virtual property System::Windows::Forms::DataGridViewElementStates State { System::Windows::Forms::DataGridViewElementStates get(); };
[System.ComponentModel.Browsable(false)]
public virtual System.Windows.Forms.DataGridViewElementStates State { get; }
[<System.ComponentModel.Browsable(false)>]
member this.State : System.Windows.Forms.DataGridViewElementStates
Public Overridable ReadOnly Property State As DataGridViewElementStates

屬性值

以位元組合表示 DataGridViewElementStates 該狀態的值。

屬性

備註

這些值所指定的 DataGridViewElementStates 狀態由使用者介面強制執行,但可被程式化地覆核。

適用於

另請參閱