共用方式為


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 數值。 預設是 和 SelectableFocusable 值的位元組合。

例外狀況

該財產的 Owner 價值為 null

備註

若選取該列中所有DataGridViewCell物件,屬性包含StateSelected該值。 State 無法顯示該列是否已經滾動出視窗。

適用於

另請參閱