Class
NumericalFilterDescriptor

Represents a PropertyFilterDescriptor that is associated with all the numerical data types available in .NET. The known numerical types are: byte, sbyte, short, ushort, int, uint, long, ulong, float, double, decimal.

Definition

Constructors

NumericalFilterDescriptor()

Declaration

cs-api-definition
public NumericalFilterDescriptor()

Properties

Operator

Gets or sets the NumericalOperator value that defines the boolean logic behind the left and right operand comparison.

Declaration

cs-api-definition
public NumericalOperator Operator { get; set; }

Property Value

NumericalOperator

Methods

OnPropertyChanged(string)

Provides an entry point for inheritors to provide additional logic over the PropertyChanged routine.

Declaration

cs-api-definition
protected override void OnPropertyChanged(string propertyName = null)

Parameters

propertyName

string

Overrides PropertyFilterDescriptor.OnPropertyChanged(string)

PassesFilterOverride(object)

Encapsulates the core filter logic exposed by the descriptor. Allows inheritors to provide their own custom filtering logic.

Declaration

cs-api-definition
protected override bool PassesFilterOverride(object itemValue)

Parameters

itemValue

object

The property value, as defined by the property.

Returns

bool

True if the filter is passed and the associated item should be displayed, false otherwise.

Overrides PropertyFilterDescriptor.PassesFilterOverride(object)