DataGridViewColumnDividerDoubleClickEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DataGridViewColumnDividerDoubleClickEventArgs class.
public:
DataGridViewColumnDividerDoubleClickEventArgs(int columnIndex, System::Windows::Forms::HandledMouseEventArgs ^ e);
public DataGridViewColumnDividerDoubleClickEventArgs (int columnIndex, System.Windows.Forms.HandledMouseEventArgs e);
public DataGridViewColumnDividerDoubleClickEventArgs (int columnIndex, System.Windows.Forms.HandledMouseEventArgs? e);
new System.Windows.Forms.DataGridViewColumnDividerDoubleClickEventArgs : int * System.Windows.Forms.HandledMouseEventArgs -> System.Windows.Forms.DataGridViewColumnDividerDoubleClickEventArgs
Public Sub New (columnIndex As Integer, e As HandledMouseEventArgs)
Parameters
- columnIndex
- Int32
The index of the column next to the column divider that was double-clicked.
A new HandledMouseEventArgs containing the inherited event data.
Exceptions
columnIndex
is less than -1.
Remarks
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
.