New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a special FilterDescriptorBase that stores an arbitrary number of other Descriptors instances. The logical AND or OR operator is applied upon all composed filters to determine the result of the PassesFilter routine.

Definition

Constructors

Initializes a new instance of the CompositeFilterDescriptor class.

C#
public CompositeFilterDescriptor()

Initializes a new instance of the CompositeFilterDescriptor class.

C#
public CompositeFilterDescriptor(IEnumerable<FilterDescriptorBase> filterDescriptors)
Parameters:filterDescriptorsIEnumerable<FilterDescriptorBase>

The filter descriptors to add to the Descriptors collection.

Properties

Gets the collection with all the FilterDescriptorBase objects composed by this instance.

C#
public ObservableCollection<FilterDescriptorBase> Descriptors { get; }

Gets or sets the LogicalOperator value that defines whether logical conjunction or disjunction will be used for the PassesFilter routine.

C#
public LogicalOperator Operator { get; set; }