BooleanFilterBase Class
Provides an abstract base class for a boolean IDataFilter implementation.
public abstract class BooleanFilterBase : DataFilterBase, IDataFilter
- Inheritance:
- object DataFilterBase object
- Derived:
- PropertyModelBooleanFilter
- Implements:
- IDataFilter
Constructors
BooleanFilterBase()
Initializes an instance of the class.
protected BooleanFilterBase()
Properties
Operation
The boolean operation performed by this filter.
public BooleanFilterOperation Operation { get; set; }
Property Value
- BooleanFilterOperation:
The default value is Equals.
Value
The operand value used by this filter.
Methods
FilterByBoolean(bool)
Examines the specified boolean to see if meets filter conditions.
protected virtual bool FilterByBoolean(bool source)
| Parameter | Type | Description |
|---|---|---|
| source | bool | The boolean to examine. |
Returns
- bool:
trueif the conditions for the filter are met by the boolean; otherwise,false.
Fields
OperationProperty
Defines the Operation property.
public static readonly DependencyProperty OperationProperty
ValueProperty
Defines the Value property.
public static readonly DependencyProperty ValueProperty
Inherited Members
- DataFilterBase.IncludedFilterResultProperty
- DataFilterBase.IsEnabledProperty
- DataFilterBase.Filter(object, object)
- DataFilterBase.RaiseFilterChangedEvent()
- DataFilterBase.FallbackFilterResult
- DataFilterBase.IncludedFilterResult
- DataFilterBase.IsEnabled
- DataFilterBase.FilterChanged