[]
Looks for the index of first ListItem which matches the specified text in the dropdown list.
protected int FindFirstMatchedAndCanBeSelectedIndex(string text, bool ignoreCase)
Protected Function FindFirstMatchedAndCanBeSelectedIndex(text As String, ignoreCase As Boolean) As Integer
Type | Name | Description |
---|---|---|
string | text | A string value indicates the matched text. |
bool | ignoreCase | A bool value, true if we match string ignore upper or lower case; otherwise, false. |
Type | Description |
---|---|
int | A int value indicates the index of first ListItem which matches the specified text in the dropdown list. If don't find ,then return -1. |