Class FilterHelper
This class encapsulates the support for computing filter values and expressions.
Inheritance
System.Object
FilterHelper
Namespace: Syncfusion.PivotAnalysis.UWP
Assembly: Syncfusion.PivotAnalysis.UWP.dll
Syntax
public class FilterHelper : Object
Constructors
FilterHelper()
Initializes a new instance of the FilterHelper class.
Declaration
public FilterHelper()
Properties
CaseSensitive
Gets or sets value to indicate whether the expression should be treated in a case-sensitive manner. The default value is true.
Declaration
public bool CaseSensitive { get; set; }
Property Value
Type |
---|
System.Boolean |
Count
Gets the number of filter expressions contained in this helper class.
Declaration
public int Count { get; }
Property Value
Type |
---|
System.Int32 |
Item[Int32]
Gets the particular filter expression in the order it was added.
Declaration
public FilterExpression this[int i] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | i | The index of desired filter expression. |
Property Value
Type | Description |
---|---|
FilterExpression | The filter expression. |
Methods
AddFilterExpression(String, String)
Adds a filter expression.
Declaration
public void AddFilterExpression(string name, string expression)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of filter expression. |
System.String | expression | A string holding a well-formed logical expression. |
Clear()
Clears a filter expression.
Declaration
public void Clear()
RemoveFilterExpression(FilterExpression)
Remove the filter expression from filters collection.
Declaration
public bool RemoveFilterExpression(FilterExpression exp)
Parameters
Type | Name | Description |
---|---|---|
FilterExpression | exp | The filter expression. |
Returns
Type |
---|
System.Boolean |