Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Parameters

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.

#Returns

Type Description
Int32

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

#Remarks

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