DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.State 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
virtual property System::Windows::Forms::AccessibleStates State { System::Windows::Forms::AccessibleStates get(); };
public override System.Windows.Forms.AccessibleStates State { get; }
member this.State : System.Windows.Forms.AccessibleStates
Public Overrides ReadOnly Property State As AccessibleStates
屬性值
AccessibleStates 值的位元組合。 預設值為 Selectable。
例外狀況
Owner 屬性的值是 null。
備註
State屬性值一律包含 Selectable 值。 State如果 DataGridViewColumn 已選取包含儲存格的 ,則 包含 Selected 值。 如果目前未顯示擁有儲存格,則 State 包含 Offscreen 值。