DataGridViewElement.State Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

[<BrowsableAttribute(false)>]
abstract State : DataGridViewElementStates with get
[<BrowsableAttribute(false)>]
override State : DataGridViewElementStates with 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: