LabelEditEventArgs Constructor (Int32, String^)
Initializes a new instance of the LabelEditEventArgs class with the specified index to the ListViewItem being edited and the new text for the label of the ListViewItem.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- item
-
Type:
System::Int32
The zero-based index of the ListViewItem, containing the label to edit.
- label
-
Type:
System::String^
The new text assigned to the label of the ListViewItem.
You can use this constructor when raising the ListView::BeforeLabelEdit or ListView::AfterLabelEdit event at run time to specify a list item in the ListView to edit. The constructor also enables you to specify the new text associated with the label of the ListViewItem.
Available since 1.1