DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.State Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the state of the DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.
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.