Skip to main content
A newer version of this page is available. .

CheckedComboBoxEdit.FindStringExact(String) Method

Searches for a CheckedComboBoxEdit item whose caption is equal to the target string.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

public int FindStringExact(
    string s
)

Parameters

Name Type Description
s String

A String value that is the text to find.

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