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

Definition

Constructors

C#
public PivotDataSourceFilterStringDescriptorBuilder(FilterDescriptor descriptor)
Parameters:descriptorFilterDescriptor

Methods

Includes only values which contain the given 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 which does not contain the given 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 which end with the given 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 which are equal to the given string.

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

The string which the result should not contain

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

Includes only values which are notequal to the given string.

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

The string which the result should not contain

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

Includes only values which are starting with the given 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"))