Class QueryableTextCondition
A class that filters based on text matching.
Inheritance
Inherited Members
Namespace: Telerik.Pivot.Queryable.Filtering
Assembly: Telerik.Pivot.DataProviders.Queryable.dll
Syntax
public sealed class QueryableTextCondition : QueryableCondition, INotifyPropertyChanged, ISupportInitialize, IObservableServiceProvider, IServiceProvider, IEditable, ITextCondition
Constructors
QueryableTextCondition()
Initializes a new instance of the QueryableTextCondition class.
Declaration
public QueryableTextCondition()
Properties
Comparison
Gets or sets the condition used in the comparison.
Declaration
public TextComparison Comparison { get; set; }
Property Value
TextComparison
|
IgnoreCase
Gets or set a value that indicates if the case of the strings should be ignored.
Declaration
public bool IgnoreCase { get; set; }
Property Value
System.Boolean
|
IsActive
Returns a value indicating whether this instance is active and will take part in filtering.
Declaration
public override bool IsActive { get; }
Property Value
System.Boolean
Is active. |
Overrides
Pattern
Gets or sets the text pattern used in the comparison.
Declaration
public string Pattern { get; set; }
Property Value
System.String
|
Methods
CloneCore(Cloneable)
Makes the instance a clone (deep copy) of the specified Cloneable.
Declaration
protected override void CloneCore(Cloneable source)
Parameters
Cloneable
source
The object to clone. |
Overrides
Remarks
Notes to Inheritors If you derive from Cloneable, you may need to override this method to copy all properties. It is essential that all implementations call the base implementation of this method (if you don't call base you should manually copy all needed properties including base properties).
CreateInstanceCore()
When implemented in a derived class, creates a new instance of the Cloneable derived class.
Declaration
protected override Cloneable CreateInstanceCore()
Returns
Cloneable
New instance for cloning. |
Overrides
Remarks
Do not call this method directly (except when calling base in an implementation). This method is called internally by the Clone() method whenever a new instance of the Cloneable is created. Notes to Inheritors. Every Cloneable derived class must implement this method. A typical implementation is to simply call the default constructor and return the result.
GetExpression(Expression)
Determines the queryable System.Linq.Expressions.Expression for filtering an object.
Declaration
protected override Expression GetExpression(Expression valueExpression)
Parameters
System.Linq.Expressions.Expression
valueExpression
The System.Linq.Expressions.Expression that will be used as property for filter comparison. |
Returns
System.Linq.Expressions.Expression
The filter System.Linq.Expressions.Expression. |