通过


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 。 默认值是和Focusable值的按位组合Selectable

例外

属性Owner的值为 null .

注解

如果该行中的所有DataGridViewCell对象都处于选中状态,该State属性将包含Selected该值。 State 不指示该行是否已滚动出视图。

适用于

另请参阅