DataGridViewAutoSizeColumnModeEventArgs Constructor
Collapse the table of content
Expand the table of content

DataGridViewAutoSizeColumnModeEventArgs Constructor (DataGridViewColumn, DataGridViewAutoSizeColumnMode)

 

Initializes a new instance of the DataGridViewAutoSizeColumnModeEventArgs class.

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

public DataGridViewAutoSizeColumnModeEventArgs(
	DataGridViewColumn dataGridViewColumn,
	DataGridViewAutoSizeColumnMode previousMode
)

Parameters

dataGridViewColumn
Type: System.Windows.Forms.DataGridViewColumn

The column with the AutoSizeMode property that changed.

previousMode
Type: System.Windows.Forms.DataGridViewAutoSizeColumnMode

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

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft