New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Builds string comparison filters for PivotDataSource tuple members.

Definition

Constructors

Initializes a string comparison filter builder for the specified descriptor.

C#
public PivotDataSourceFilterStringDescriptorBuilder(FilterDescriptor descriptor)
Parameters:descriptorFilterDescriptor

Methods

Includes only values that contain the specified string.

C#
public void Contains(string value)
Parameters:valuestring

The string which the result should contain

Example:
C#
.Filter(f => f.Add("[Geography].[City]").Contains(" Foo"))

Includes only values that do not contain the specified string.

C#
public void DoesNotContain(string value)
Parameters:valuestring

The string which the result should not contain

Example:
C#
.Filter(f => f.Add("[Geography].[City]").DoesNotContain("Foo"))

Includes only values that end with the specified string.

C#
public void EndsWith(string value)
Parameters:valuestring

The string with which the result should end

Example:
C#
.Filter(f => f.Add("[Geography].[City]").EndsWith(" Foo"))

Includes only values that are equal to the specified string.

C#
public void IsEqualTo(string value)
Parameters:valuestring

The string to match.

Example:
C#
.Filter(f => f.Add("[Geography].[City]").IsEqualTo("Foo"))

Includes only values that are not equal to the specified string.

C#
public void IsNotEqualTo(string value)
Parameters:valuestring

The string to exclude.

Example:
C#
.Filter(f => f.Add("[Geography].[City]").IsNotEqualTo("Foo"))

Includes only values that start with the specified string.

C#
public void StartsWith(string value)
Parameters:valuestring

The string with which the result should start

Example:
C#
.Filter(f => f.Add("[Geography].[City]").StartsWith(" Foo"))