Click or drag to resize
RadListElementFindString Method (String, Int32)
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.3.911.40 (2018.3.911.40)
public int FindString(
	string s,
	int startIndex


Type: SystemString
The string with which every item will be compared.
Type: SystemInt32
The index from which to start searching.

Return Value

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