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

例外

属性Owner的值为 null .

注解

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

适用于

另请参阅