[]
        
(Showing Draft Content)

C1.DataFilter.Filter

Filter Class

Base class represents filter of the C1DataFilter control.

Namespace: C1.DataFilter
Assembly: C1.WPF.DataFilter.4.6.2.dll
Syntax
public abstract class Filter : INotifyPropertyChanged

Constructors

Name Description
Filter(string, bool)

Initializes a new instance of the Filter with the name of the data item property.

Properties

Name Description
Expanded

Gets or set the expanded state of current Filter.

Expression

Gets or sets the expression of the current Filter.

HeaderText

Gets or sets a value of header text of the current Filter.

IsApplied

Gets a value indicating the current Filter is applied or not.

IsAutoGenerated

Gets a value indicating whether this filter was generated automatically.

PropertyName

Gets or sets the name of the data item property to which the current Filter applies.

ToolTip

Gets or sets the text that appears as a ToolTip for header of this filter.

Methods

Name Description
OnPropertyChanged(string)

Raises the PropertyChanged event.

OnValueChanged(ValueChangedEventArgs)

Raises the ValueChanged event.

Reset(bool)

Resets the filter value to the default value.

Events

Name Description
PropertyChanged

Occurs when a property value changes.

ValueChanged

Occurs when a value of current Filter changes.