TopFilter
Filter that displays only the top or bottom N items or percentage of items by numeric value in a column.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.Filtering
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class TopFilter : CellValuesFilterBase, IFilter
Inheritance: objectFilterBase<ICellValue>CellValuesFilterBaseTopFilter
Implements:
Inherited Members
Constructors
Initializes a new top filter with the specified filter type and count or percentage threshold.
public TopFilter(int relativeColumnIndex, TopFilterType topFilterType, double value)
The relative index of the column.
topFilterTypeTopFilterTypeType of the top filter.
valuedoubleGets the value which indicates how many or what percent of the items covered by the filter should be shown.
Initializes a new top filter showing the top 10 numeric values by default.
public TopFilter(int relativeColumnIndex)
The relative index of the column.
Methods
Evaluates whether the numeric value ranks within the configured top or bottom threshold.
Properties
Filter type controlling whether to show top or bottom items by count or percentage.
public TopFilterType TopFilterType { get; }
The type of the top filter.