DataGridViewCell.DataGridViewCellAccessibleObject.State Property

Definition

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

Property Value

A bitwise combination of AccessibleStates values.

Exceptions

The value of the Owner property is null.

Remarks

The return value always includes the Selectable and Focusable values. It also includes the Selected value if the associated cell is selected, the Focused value if the cell has keyboard focus, and the Offscreen value if the cell is not currently displayed.

Applies to

See also