New to Telerik Document ProcessingStart a free 30-day trial

Represents a Top 10 filter that shows the top or bottom N items or percentages.

Definition

Namespace:Telerik.Documents.SpreadsheetStreaming

Assembly:Telerik.Documents.SpreadsheetStreaming.dll

Syntax:

C#
public class SpreadTop10Filter : ISpreadFilter

Inheritance: objectSpreadTop10Filter

Implements: ISpreadFilter

Constructors

Initializes a new instance of the SpreadTop10Filter class.

C#
public SpreadTop10Filter(SpreadTop10FilterType filterType, double value)
Parameters:filterTypeSpreadTop10FilterType

The type of top/bottom filter.

valuedouble

The count or percentage value. Must be a finite number greater than zero.

Exceptions:

ArgumentOutOfRangeException

Thrown when value is less than or equal to zero.

ArgumentException

Thrown when value is NaN or Infinity.

Remarks:

See the class-level remarks for streaming-mode limitations regarding Top10 filter evaluation.

Properties

Gets the type of top/bottom filter.

C#
public SpreadTop10FilterType FilterType { get; }

Gets the count or percentage value.

C#
public double Value { get; }