DataGridViewColumnStateChangedEventArgs Constructor
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.
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
.