DevListViewItemCollectionInsert(Int32, String, String, Int32) Method

Creates a new item with the specified key, text, and image, and inserts it in the collection at the specified index.

Definition

Namespace: DevCase.UI.Layout.DevListViewData
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public virtual ListViewItem Insert(
	int index,
	string key,
	string text,
	int imageIndex
)

Parameters

index  Int32
The zero-based index location where the item is inserted
key  String
The Name of the item.
text  String
The text of the item.
imageIndex  Int32
The index of the image to display for the item.

Return Value

ListViewItem
The ListViewItem added to the collection.

See Also