ClassDynamicFilter
Filters rows based on dynamic date/time criteria (e.g., Today, This Month, Last Year) or numeric criteria (Above/Below Average); recalculates on each evaluation.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.Filtering
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class DynamicFilter : CellValuesFilterBase, IFilter
Inheritance: objectFilterBase<ICellValue>CellValuesFilterBaseDynamicFilter
Implements:
Inherited Members
Constructors
DynamicFilter(int, DynamicFilterType)
Initializes a new instance of the DynamicFilter class.
Declaration
public DynamicFilter(int relativeColumnIndex, DynamicFilterType dynamicFilterType)
Parameters
relativeColumnIndex
Relative index of the column.
dynamicFilterType
Type of the dynamic filter.
Properties
DynamicFilterType
Gets the dynamic filter criterion (date-relative, time period, or average comparison) applied to cell values.
Declaration
public DynamicFilterType DynamicFilterType { get; }
Property Value
The type of the dynamic filter.
Methods
GetHashCode()
Serves as a hash function for a particular type.
GetValue(Cells, int, int)
Retrieves the cell value at the specified row and column, interpreting numeric values as dates when formatted as such.
ShouldShowValue(object)
Determines whether the row containing the specified date or numeric value satisfies the dynamic filter criterion.