The Filter type exposes the following members.

Constructors

  Name Description
Public method Filter
Initializes a new instance of the Filter class.

Methods

  Name Description
Public method AssignFrom
Copies properties from another Filter to the current object. Expression and Values are copied by reference.

Properties

  Name Description
Public property Expression
Gets or sets an expression that is evaluated for each instance within the group or each row of the data set or data region and compared (via the Operator) to the Values. Failed comparisons result in the row/instance being filtered out of the data set, data region or group.
Public property Operator
Gets or sets the operator used to compare the Expression and Values.
Public property Owner
Gets Filters collection containing this object.
Public property Values
Gets the values to compare to the Expression. For Equal, Like, NotEqual, GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual, TopN, BottomN, TopPercent and BottomPercent, there must be exactly one FilterValue. For TopN and BottomN, the FilterValue expression must evaluate to an integer. For TopPercent and BottomPercent, the FilterValue expression must evaluate to an integer or float. For Between, there must be exactly two FilterValue elements. For In, the Values are treated as a set (if the Expression value appears anywhere in the set of Values, the instance is not filtered out.)

See Also