BaseCheckedListBoxControl.CheckedIndices Property
Gets the collection of indexes corresponding to checked items.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v20.2.dll
NuGet Package: DevExpress.Win.Navigation
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CheckedIndices property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.