DataGridViewElement.State Property

 

Gets the user interface (UI) state of the element.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[BrowsableAttribute(false)]
public virtual DataGridViewElementStates State { get; }

Property Value

Type: System.Windows.Forms.DataGridViewElementStates

A 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
Return to top
Show: