Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataGridViewColumnDividerDoubleClickEventArgs Constructor

DataGridViewColumnDividerDoubleClickEventArgs Constructor

Initializes a new instance of the DataGridViewColumnDividerDoubleClickEventArgs class.

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

public DataGridViewColumnDividerDoubleClickEventArgs(
	int columnIndex,
	HandledMouseEventArgs e


Type: System.Int32

The index of the column next to the column divider that was double-clicked.

Type: System.Windows.Forms.HandledMouseEventArgs

A new HandledMouseEventArgs containing the inherited event data.


columnIndex is less than -1.

This constructor initializes the value of the ColumnIndex property using the columnIndex value. The values of properties inherited from HandledMouseEventArgs are initialized to the values specified in e.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft