New to Telerik Document Processing? Start a free 30-day trial

Represents a single comparison criterion for a custom filter.

The FilterValue may be an empty string, which is a valid filter value in Excel. An empty string matches cells that contain exactly the empty string.

Wildcards (any sequence) and ? (single char) can be used in FilterValue when the comparison operator is EqualsTo or NotEqualsTo. To match a literal , ?, or , escape it with a tilde: *, ~?, ~~.

Definition

Namespace:Telerik.Documents.SpreadsheetStreaming

Assembly:Telerik.Documents.SpreadsheetStreaming.dll

Syntax:

C#
public class SpreadCustomFilterCriteria

Inheritance: objectSpreadCustomFilterCriteria

Constructors

Initializes a new instance of the SpreadCustomFilterCriteria class.

C#
public SpreadCustomFilterCriteria(SpreadComparisonOperator comparisonOperator, string filterValue)
Parameters:comparisonOperatorSpreadComparisonOperator

The comparison operator.

filterValuestring

The value to compare against. May be empty but not null.

Exceptions: ArgumentNullException

Thrown when filterValue is null.

Properties

Gets the comparison operator.

C#
public SpreadComparisonOperator ComparisonOperator { get; }

Gets the value to compare against.

C#
public string FilterValue { get; }