DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.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. The default is Selectable.

Exceptions

The value of the Owner property is null.

Remarks

The State property value always includes the Selectable value. The State includes the Selected value if the DataGridViewColumn that contains the cell is selected. The State includes the Offscreen value if the owning cell is not currently displayed.

Applies to

See also