BaseListBoxControl.FindString(String, Int32, Boolean) Method
Searches for the first list box item in the specified direction from the specified index, and starting with a specific string.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
s | String | A string value representing the search text. |
startIndex | Int32 | An integer value providing the zero-based index of the start item. |
upDown | Boolean | true to search to the end of the item list; false to search to the beginning of the item list. |
Returns
Type | Description |
---|---|
Int32 | An integer value representing the zero-based index of the first item found. -1 if no item is found. |
See Also