In This Article

DataFilterGroup Class

Represents a group of data filters that can be AND-ed or OR-ed together.

public class DataFilterGroup : DataFilterBase, IDataFilter
Inheritance:
object DataFilterBase object
Implements:
IDataFilter

Constructors

DataFilterGroup()

Initializes an instance of the DataFilterGroup class.

public DataFilterGroup()

Properties

Children

Gets the collection of child data filters.

public DataFilterCollection Children { get; }

Property Value

DataFilterCollection:

The collection of child data filters.

Operation

Gets or sets the operation used to evaluate results from the child filters.

public DataFilterGroupOperation Operation { get; set; }

Property Value

DataFilterGroupOperation:

The operation used to evaluate results from the child filters. The default value is DataFilterGroupOperation.And.

Methods

Filter(object, object)

Examines the specified item to see if meets filter conditions.

public override DataFilterResult Filter(object item, object context)
Parameter Type Description
item object

The item to examine.

context object

An optional object that provides contextual information for the filter request.

Returns

DataFilterResult:

A DataFilterResult that indicates the filter result.

Fields

OperationProperty

Identifies the Operation dependency property. This field is read-only.

public static readonly DependencyProperty OperationProperty

Inherited Members