LabelEditEventArgs Constructor (Int32)

 

Initializes a new instance of the LabelEditEventArgs class with the specified index to the ListViewItem to edit.

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

public LabelEditEventArgs(
	int item
)

Parameters

item
Type: System.Int32

The zero-based index of the ListViewItem, containing the label to edit.

You can use this constructor when raising the ListView.BeforeLabelEdit or ListView.AfterLabelEdit event at run time to specify a specific list item in the ListView to edit.

.NET Framework
Available since 1.1
Return to top
Show: