Editar

Compartir a través de


DataGridViewAutoSizeColumnModeEventArgs Constructor

Definition

Initializes a new instance of the DataGridViewAutoSizeColumnModeEventArgs class.

public:
 DataGridViewAutoSizeColumnModeEventArgs(System::Windows::Forms::DataGridViewColumn ^ dataGridViewColumn, System::Windows::Forms::DataGridViewAutoSizeColumnMode previousMode);
public DataGridViewAutoSizeColumnModeEventArgs (System.Windows.Forms.DataGridViewColumn dataGridViewColumn, System.Windows.Forms.DataGridViewAutoSizeColumnMode previousMode);
public DataGridViewAutoSizeColumnModeEventArgs (System.Windows.Forms.DataGridViewColumn? dataGridViewColumn, System.Windows.Forms.DataGridViewAutoSizeColumnMode previousMode);
new System.Windows.Forms.DataGridViewAutoSizeColumnModeEventArgs : System.Windows.Forms.DataGridViewColumn * System.Windows.Forms.DataGridViewAutoSizeColumnMode -> System.Windows.Forms.DataGridViewAutoSizeColumnModeEventArgs
Public Sub New (dataGridViewColumn As DataGridViewColumn, previousMode As DataGridViewAutoSizeColumnMode)

Parameters

dataGridViewColumn
DataGridViewColumn

The column with the AutoSizeMode property that changed.

previousMode
DataGridViewAutoSizeColumnMode

The previous DataGridViewAutoSizeColumnMode value of the column's AutoSizeMode property.

Applies to

See also