[]
        
(Showing Draft Content)

C1.Blazor.DataFilter.ChecklistFilterBase

ChecklistFilterBase Class

Base class represents a filter with checklist.

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

Constructors

Name Description
ChecklistFilterBase(string, bool)

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

Properties

Name Description
DisplayMemberPath

Gets or sets a path to a value on the source object to serve as the visual representation of the object.

EmptyFilterBehavior

Gets or sets the behavior of CheckListFilter when an empty expression is assigned.

Expression

Gets or sets the expression of the current filter.

IsApplied

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

Items

Gets the items collection of checklist.

ItemsSource

Gets or sets the object used as the items source for the checklist.

SelectAllLabel

Gets or sets select all checkbox label.

SelectedItems

Gets the collection of selected items.

SelectionMode

Gets or sets a value indicating selection method for items of checklist.

ShowSearchBox

Gets or sets a value indicating whether show search box or not.

ShowSelectAll

Gets or sets a value indicating whether show select all checkbox or not.

ValueMemberPath

Gets or sets a path to a value on the source object to serve as the value representation of the object.

Methods

Name Description
BeginItemsUpdate()

Maintains performance while items are added to the filter one at a time.

EndItemsUpdate()

Resumes events of the filter after items updating.

Reset(bool)

Resets the filter value to the default value.

SelectAll(bool)

Selects all items in the checklist.

SetItemsSource(object)

Sets the object used as the items source for the checklist.

UnselectAll(bool)

Clears the SelectedItems collection in the checklist.

UpdateItems(object)

Updates the items collection.