DataGridViewElement.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 user interface (UI) state of the element.
public:
virtual property System::Windows::Forms::DataGridViewElementStates State { System::Windows::Forms::DataGridViewElementStates get(); };
[System.ComponentModel.Browsable(false)]
public virtual System.Windows.Forms.DataGridViewElementStates State { get; }
[<System.ComponentModel.Browsable(false)>]
member this.State : System.Windows.Forms.DataGridViewElementStates
Public Overridable ReadOnly Property State As DataGridViewElementStates
Property Value
A bitwise combination of the DataGridViewElementStates values representing the state.
- Attributes
Remarks
The states specified by the DataGridViewElementStates values are enforced by the UI but may be programmatically overruled.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.