次の方法で共有


DataGridViewRow.DataGridViewRowAccessibleObject.State プロパティ

定義

DataGridViewRow.DataGridViewRowAccessibleObjectの状態を取得します。

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 値と Focusable 値のビットごとの組み合わせです。

例外

Owner プロパティの値はnull

注釈

行内のすべてのDataGridViewCell オブジェクトが選択されている場合、State プロパティにはSelected値が含まれます。 State は、行がビュー外にスクロールしたかどうかを示しません。

適用対象

こちらもご覧ください