Export (0) Print
Expand All

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
)

Parameters

columnIndex
Type: System.Int32

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

e
Type: System.Windows.Forms.HandledMouseEventArgs

A new HandledMouseEventArgs containing the inherited event data.

ExceptionCondition
ArgumentOutOfRangeException

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
Show:
© 2015 Microsoft