[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.Filter

Filter Class

Represents a Filter element of a DataSet, describing a filter to apply to rows of data in a dataset or data region, or to apply to the group instances.

Inheritance
Filter
Implements
Namespace: GrapeCity.ActiveReports.PageReportModel
Assembly: MESCIUS.ActiveReports.Core.Rdl.dll
Syntax
public sealed class Filter : IValidateable
Remarks

Filters are used to selectively include or exclude data rows or group instances based on specified criteria.

Examples
Filter filter = new Filter { Operator = FilterOperator.Equal, FilterExpression = "Germany", FilterValues = { "=Fields!Country.Value" } }

Constructors

Name Description
Filter()

Initializes a new instance of the Filter class.

Properties

Name Description
FilterExpression

Gets or sets an expression that will be evaluated for each instance within the group or each row of the dataset or data region and compared (via the Operator) to the FilterValues.

FilterValues

Gets the values to compare to the FilterExpression.

Operator

Gets or sets an operator used when comparing the FilterExpression to the FilterValues.

Methods

Name Description
Validate(ValidationContext)

Validates the current state of the Filter object.

Extension Methods