CheckedListBoxItemCollection.Item[Int32] Property
Gets or sets an item at the specified position within the collection.
Namespace: DevExpress.XtraEditors.Controls
Assembly: DevExpress.XtraEditors.v22.2.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
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.