Class
SpreadTop10Filter

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:

cs-api-definition
public class SpreadTop10Filter : ISpreadFilter

Inheritance: objectSpreadTop10Filter

Implements: ISpreadFilter

Constructors

SpreadTop10Filter(SpreadTop10FilterType, double)

Initializes a new instance of the SpreadTop10Filter class.

Declaration

cs-api-definition
public SpreadTop10Filter(SpreadTop10FilterType filterType, double value)

Parameters

filterType

SpreadTop10FilterType

The type of top/bottom filter.

value

double

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

FilterType

Gets the type of top/bottom filter.

Declaration

cs-api-definition
public SpreadTop10FilterType FilterType { get; }

Property Value

SpreadTop10FilterType

Value

Gets the count or percentage value.

Declaration

cs-api-definition
public double Value { get; }

Property Value

double