DataGridViewColumnStateChangedEventArgs Constructor

Definition

Initializes a new instance of the DataGridViewColumnStateChangedEventArgs class.

public:
 DataGridViewColumnStateChangedEventArgs(System::Windows::Forms::DataGridViewColumn ^ dataGridViewColumn, System::Windows::Forms::DataGridViewElementStates stateChanged);
public DataGridViewColumnStateChangedEventArgs (System.Windows.Forms.DataGridViewColumn dataGridViewColumn, System.Windows.Forms.DataGridViewElementStates stateChanged);
new System.Windows.Forms.DataGridViewColumnStateChangedEventArgs : System.Windows.Forms.DataGridViewColumn * System.Windows.Forms.DataGridViewElementStates -> System.Windows.Forms.DataGridViewColumnStateChangedEventArgs
Public Sub New (dataGridViewColumn As DataGridViewColumn, stateChanged As DataGridViewElementStates)

Parameters

dataGridViewColumn
DataGridViewColumn

The DataGridViewColumn whose state has changed.

stateChanged
DataGridViewElementStates

One of the DataGridViewElementStates values.

Exceptions

.NET 6+ only: dataGridViewColumn is null.

Applies to

See also