New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a FilterDescriptorBase that is associated with a particular property in the underlying ViewModel.

Definition

Constructors

C#
protected PropertyFilterDescriptor()

Properties

Gets or sets the name of the property that is used to retrieve the value to filter by.

C#
public string PropertyName { get; set; }

Gets or sets the value used in the comparisons. This is the right operand of the comparison.

C#
public object Value { get; set; }

Methods

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

C#
protected override void OnPropertyChanged(string propertyName = null)
Parameters:propertyNamestring

Overrides: DataDescriptor.OnPropertyChanged(string)

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

C#
protected virtual bool PassesFilterOverride(object itemValue)
Parameters:itemValueobject

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.