DataGridViewRow.DataGridViewRowAccessibleObject.State 屬性

定義

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

AccessibleStates 值的位元組合。 預設值為 SelectableFocusable 值的位元組合。

例外狀況

Owner 屬性的值是 null

備註

如果已選取資料列中的所有物件, DataGridViewCell 屬性 State 就會包含 Selected 值。 State 不會指出資料列是否已捲動出檢視。

適用於

另請參閱