ListView.SetEditItem(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the specified item into edit mode in a ListView control.
public:
void SetEditItem(int rowIndex);
public void SetEditItem (int rowIndex);
member this.SetEditItem : int -> unit
Public Sub SetEditItem (rowIndex As Integer)
Parameters
- rowIndex
- Int32
The index of the item to set into edit mode.
Remarks
Use the EditItem property to access the item that is put in edit mode in a ListView control. The content of an edit item is defined by the EditItemTemplate property.
This method raises the ItemEditing event.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.