DataGridViewRowContextMenuStripNeededEventArgs(Int32) Constructor

Definition

Initializes a new instance of the DataGridViewRowContextMenuStripNeededEventArgs class.

public:
 DataGridViewRowContextMenuStripNeededEventArgs(int rowIndex);
public DataGridViewRowContextMenuStripNeededEventArgs (int rowIndex);
new System.Windows.Forms.DataGridViewRowContextMenuStripNeededEventArgs : int -> System.Windows.Forms.DataGridViewRowContextMenuStripNeededEventArgs
Public Sub New (rowIndex As Integer)

Parameters

rowIndex
Int32

The index of the row.

Exceptions

rowIndex is less than -1.

Remarks

This constructor uses the rowIndex parameter value to initialize the RowIndex property.

Applies to

See also