Click or drag to resize
RadDropDownListElementFindString Method (String)
Searches for an item related to the specified string. The relation is described by the object assigned to FindStringComparer property. By default FindStringComparer uses the System.String.StartsWith() method. This method starts searching from the specified index. If the algorithm reaches the end of the Items collection it wraps to the beginning and continues until one before the provided index.

Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI (in Telerik.WinControls.UI.dll) Version: 2018.2.619.40 (2018.2.619.40)
Syntax
public int FindString(
	string s
)

Parameters

s
Type: SystemString
The string with which every item will be compared.

Return Value

Type: Int32
The index of the found item or -1 if no item is found.
See Also