DataGridViewRowContextMenuStripNeededEventArgs(Int32) 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 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.