Class
CustomFilterCriteria

Defines a single comparison criterion for CustomFilter, specifying a relational operator and target value.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model.Filtering

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public class CustomFilterCriteria

Inheritance: objectCustomFilterCriteria

Constructors

CustomFilterCriteria(ComparisonOperator, string)

Initializes a new instance of the CustomFilterCriteria class.

Declaration

cs-api-definition
public CustomFilterCriteria(ComparisonOperator comparisonOperator, string filterValue)

Parameters

comparisonOperator

ComparisonOperator

The comparison operator.

filterValue

string

The filter value to which the cell value will be compared.

Properties

ComparisonOperator

Gets the relational operator used to compare cell values (e.g., equals, greater than, less than).

Declaration

cs-api-definition
public ComparisonOperator ComparisonOperator { get; }

Property Value

ComparisonOperator

The comparison operator.

FilterValue

Gets the target value against which cell values are compared, stored as a string but parsed to appropriate types.

Declaration

cs-api-definition
public string FilterValue { get; }

Property Value

string

The filter value.

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Overrides object.Equals(object)

GetHashCode()

Serves as a hash function for a particular type.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current object.

Overrides object.GetHashCode()