Skip to main content

BaseCheckedListBoxControl.CheckedIndices Property

Gets the collection of indexes corresponding to checked items.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

[Browsable(false)]
public BaseCheckedListBoxControl.CheckedIndexCollection CheckedIndices { get; }

Property Value

Type Description
DevExpress.XtraEditors.BaseCheckedListBoxControl.CheckedIndexCollection

A CheckedIndexCollection object representing the collection of indexes corresponding to checked items.

Remarks

Use the CheckedIndices property to access the collection of indexes corresponding to checked items. The collection obtained is read-only. This means that you cannot add, delete or modify its elements to change the list box items’ check state. Items contained within the collection can be accessed using index notation.

To access the checked items collection, use the BaseCheckedListBoxControl.CheckedItems property.

Note: indexes of the items in indeterminate state are not included to the collection.

See Also