ClassFilterBase<T>
Abstract base for filters that evaluate cell properties of type T to determine row visibility; provides property retrieval and copying behavior.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.Filtering
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Type Parameters:
T
The type of the property definition of the filter.
Syntax:
public abstract class FilterBase<T> : IFilter
Inheritance: objectFilterBase<T>
Derived Classes:
Implements:
Constructors
FilterBase(int)
Initializes a new instance of the FilterBase<T> class.
Declaration
protected FilterBase(int relativeColumnIndex)
Parameters
relativeColumnIndex
Index of the relative column.
Properties
PropertyDefinition
Gets the cell property definition specifying which property to retrieve for filter evaluation.
Declaration
protected abstract IPropertyDefinition<T> PropertyDefinition { get; }
Property Value
The property definition.
RelativeColumnIndex
Gets the zero-based column offset within the filter range to which this filter applies.
Declaration
public int RelativeColumnIndex { get; }
Property Value
The relative index of the column.
Implements
Methods
GetValue(Cells, int, int)
Retrieves the property value from the cell at the specified row and column, respecting style inheritance.
ShouldShowValue(object)
Evaluates whether the row containing the specified property value passes the filter criterion and should be visible.