DataGridViewRowDividerDoubleClickEventArgs Constructor (Int32, HandledMouseEventArgs)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the DataGridViewRowDividerDoubleClickEventArgs class.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public DataGridViewRowDividerDoubleClickEventArgs(
	int rowIndex,
	HandledMouseEventArgs e
)

Parameters

rowIndex
Type: System.Int32

The index of the row above the row divider that was double-clicked.

e
Type: System.Windows.Forms.HandledMouseEventArgs

A new HandledMouseEventArgs containing the inherited event data.

Exception Condition
ArgumentOutOfRangeException

rowIndex is less than -1.

This constructor initializes the value of the RowIndex property using the rowIndex 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
Show: