CheckedListBoxItemCollection.Item[Int32] Property

Gets or sets an item at the specified position within the collection.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public CheckedListBoxItem this[int index] { get; set; }
Public Property Item(index As Integer) As CheckedListBoxItem

Parameters

Name Type Description
index Int32

An integer value representing the zero-based index of the required item. If the index is negative or exceeds the last available index, an exception is thrown.

Property Value

Type Description
CheckedListBoxItem

An CheckedListBoxItem object representing the item at the specified position within the collection.

Remarks

Use this property to access individual items using indexer notation.

Use the ListBoxItemCollection.IndexOf method when you need to obtain the position of the specified item within the collection.

See Also