[]
        
(Showing Draft Content)

C1.Blazor.DataFilter.Filter

Filter Class

Base class represents filter of the C1DataFilter control.

Namespace: C1.Blazor.DataFilter
Assembly: C1.Blazor.DataFilter.dll
Syntax
public abstract class Filter : NotifyPropertyChanged, INotifyPropertyChanged, IComponent, IDisposable

Constructors

Name Description
Filter(string, bool)

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

Properties

Name Description
ActualHeaderText

Gets the header that will be shown in the column header. if HeaderText is not specified the PropertyName property will be used.

AttachedState

Filter attached state.

Expression

Gets or sets the expression of the current Filter.

FilterCollection

Filters collection.

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
Attach(RenderHandle)
Dispose()
OnAttachedStateChanged(AttachedFilterState)

Calls when the filter state was changed.

Reset(bool)

Resets the filter value to the default value.

SetParametersAsync(ParameterView)

Events

Name Description
AttachedStateChanged

Notifies clients that a AttachedState value has changed.