DataGridViewElement::State Property
.NET Framework (current version)
Gets the user interface (UI) state of the element.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [BrowsableAttribute(false)] property DataGridViewElementStates State { virtual DataGridViewElementStates get(); }
Property Value
Type: System.Windows.Forms::DataGridViewElementStatesA bitwise combination of the DataGridViewElementStates values representing the state.
The states specified by the DataGridViewElementStates values are enforced by the UI but may be programmatically overruled.
.NET Framework
Available since 2.0
Available since 2.0
Show: