Modifica

Condividi tramite


DataGridViewElement.State Property

Definition

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