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.FindStringExact(String, Int32) Method

Searches for a CheckedComboBoxEdit item whose caption is equal to the target string. The search is performed starting from the desired item.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public int FindStringExact(
    string s,
    int startIndex
)

#Parameters

Name Type Description
s String

A String value that is the text to find.

startIndex Int32

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

#Returns

Type Description
Int32

An Int32 value that is the found item’s index within this CheckedComboBoxEdit. If no item was found, returns -1.

#Remarks

The FindStringExact method searches for an item whose caption entirely matches the target string. If you need to find any item whose caption starts with the required item (partial match), use one of the CheckedComboBoxEdit.FindString method overloads instead.

The FindStringExact method performs a non-case sensitive search.

See Also