BaseCheckedListBoxControl.CheckedIndices Property

Gets the collection of indexes corresponding to checked items.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.2.dll

Declaration

[Browsable(false)]
public BaseCheckedListBoxControl.CheckedIndexCollection CheckedIndices { get; }
<Browsable(False)>
Public ReadOnly Property CheckedIndices As BaseCheckedListBoxControl.CheckedIndexCollection

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