DataGridViewColumnDividerDoubleClickEventArgs Constructor
Collapse the table of content
Expand the table of content

DataGridViewColumnDividerDoubleClickEventArgs Constructor (Int32, HandledMouseEventArgs)


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.

Exception Condition

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
Available since 2.0
Return to top
© 2016 Microsoft