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

Namespace:Telerik.Data.Core

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class NumericalFilterDescriptor : PropertyFilterDescriptor, INotifyPropertyChanged

Inheritance: objectViewModelBaseDataDescriptorFilterDescriptorBasePropertyFilterDescriptorNumericalFilterDescriptor

Implements: INotifyPropertyChanged

Inherited Members PropertyFilterDescriptor.ValuePropertyFilterDescriptor.PropertyNameViewModelBase.VerifyPropertyName(string)ViewModelBase.OnPropertyChanged(string)ViewModelBase.OnPropertyChanged<T>(Expression<Func<T>>)ViewModelBase.PropertyChanged

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

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)

PropertyChangedOverride(string)

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

Declaration

cs-api-definition
protected override void PropertyChangedOverride(string changedPropertyName)

Parameters

changedPropertyName

string

Overrides PropertyFilterDescriptor.PropertyChangedOverride(string)