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

Represents a filtering descriptor which serves as a container for one or more child filtering descriptors.

Definition

Constructors

C#
public CompositeFilterDescriptor()

Properties

Gets or sets the filter descriptors that will be used for composition.

C#
public FilterDescriptorCollection FilterDescriptors { get; set; }
Property Value:

The filter descriptors used for composition.

Gets or sets the logical operator used for composing of FilterDescriptors.

C#
public FilterCompositionLogicalOperator LogicalOperator { get; set; }
Property Value:

The logical operator used for composition.

Methods

Creates a predicate filter expression combining FilterDescriptors expressions with LogicalOperator.

C#
protected override Expression CreateFilterExpression(ParameterExpression parameterExpression)
Parameters:parameterExpressionParameterExpression

The parameter expression, which will be used for filtering.

Returns:

Expression

A predicate filter expression.

Overrides: FilterDescriptorBase.CreateFilterExpression(ParameterExpression)

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: FilterDescriptorBase.Serialize(IDictionary<string, object>)