Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft