New to Telerik UI for WinFormsStart a free 30-day trial

Implements IFindStringComparer using the string StartsWith method for comparison.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class StartsWithFindStringComparer : IFindStringComparer

Inheritance: objectStartsWithFindStringComparer

Implements: IFindStringComparer

Constructors

C#
public StartsWithFindStringComparer()

Methods

Compares two strings using case-insensitive StartsWith logic.

C#
public bool Compare(string x, string y)
Parameters:xstring

The string to check.

ystring

The string to search for at the beginning of x.

Returns:

bool

true if x starts with y (case-insensitive); otherwise, false.

Implements: IFindStringComparer.Compare(string, string)