System.Windows.Forms.ListViewItem.BeginEdit Method

Places the item text into edit mode.

Syntax

public void BeginEdit ()

Remarks

This property is effective only if the ListView.LabelEdit property of the System.Windows.Forms.ListView control that contains the item is set to true. You can use this method at run time to force the item's text to display in edit mode. For example, if you are validating the item text edited by the user, and an item fails validation, you could select the item in the System.Windows.Forms.ListView control and call the ListViewItem.BeginEdit method to force the user to change the text that failed validation.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0