Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft