DataGridViewColumnDividerDoubleClickEventArgs Constructor (Int32, HandledMouseEventArgs^)
.NET Framework (current version)
Initializes a new instance of the DataGridViewColumnDividerDoubleClickEventArgs class.
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.
| Exception | Condition |
|---|---|
| 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
Available since 2.0
Available since 2.0
Show: