DataGridViewColumnDividerDoubleClickEventArgs Constructor

Definition

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.

e
HandledMouseEventArgs

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.

Applies to