FilterCriterionLeaf Class

Represents a base class for filter criteria that operate on a specific column in a spreadsheet.

Namespace: Radzen.Documents.Spreadsheet

Assembly: Radzen.Blazor.dll

Syntax

public abstract class FilterCriterionLeaf : Documents.Spreadsheet.FilterCriterion

Constructors

FilterCriterionLeaflink

Represents a base class for filter criteria that operate on a specific column in a spreadsheet.

Declaration
protected FilterCriterionLeaf()

Properties

Columnlink

Gets or sets the index of the column that this filter criterion applies to.

Declaration
public int Column { get; set; }
Property Value
Type Description
intGets or sets the index of the column that this filter criterion applies to.

Methods

Matcheslink

Declaration
public override bool Matches(Documents.Spreadsheet.Worksheet sheet, int row)
Parameters
Type Name Description
Documents.Spreadsheet.Worksheet sheet
int row
Returns
Type Description
bool

Matcheslink

Declaration
public abstract bool Matches(object value)
Parameters
Type Name Description
object value
Returns
Type Description
bool

TryCoercelink

Attempts to coerce the given value into a double for comparison purposes.

Declaration
protected static bool TryCoerce(object value, Double& result)
Parameters
Type Name Description
object value
Double& result
Returns
Type Description
bool
An error has occurred. This app may no longer respond until reloaded. Reload 🗙