Skip to main content

CheckedComboBoxEdit.FindItem(Int32, Boolean, ListBoxFindItemDelegate) Method

Returns the index of the first CheckedComboBoxEdit item that matches the custom criteria implemented in the predicate delegate method.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation


public int FindItem(
    int startIndex,
    bool upDown,
    ListBoxFindItemDelegate predicate


Name Type Description
startIndex Int32

An Int32 value that is a CheckedComboBoxEdit item index, starting from which the method should seek the matching item.

upDown Boolean

true, to search from the collection’s beginning to its end; otherwise, false.

predicate DevExpress.XtraEditors.ListBoxFindItemDelegate

A delegate that implements the search criteria.


Type Description

An Int32 value that is the index of the found item within the RepositoryItemCheckedComboBoxEdit.Items collection. If no items were found, returns -1.


If you need to find an item whose text matches the desired text string, use the CheckedComboBoxEdit.FindString or CheckedComboBoxEdit.FindStringExact methods instead.

See Also