Initializes a new instance of the LabelEditEventArgs class with the specified index to the ListItem being edited and the new text for the label of the ListItem.
[Visual Basic] Overloads Public Sub New( _ ByVal item As Integer, _ ByVal label As String _ ) [C#] public LabelEditEventArgs( int item, string label ); [C++] public: LabelEditEventArgs( int item, String* label ); [JScript] public function LabelEditEventArgs( item : int, label : String );
You can use this constructor when raising the LabelEdit 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 ListItem.
LabelEditEventArgs Class | LabelEditEventArgs Members | System.WinForms Namespace | LabelEditEventArgs Constructor Overload List