DataFilterPanel class¶
Defined in
Namespace: CrissCross.WPF.UI.Controls
Assembly: CrissCross.WPF.UI.dll
Full name: CrissCross.WPF.UI.Controls.DataFilterPanel
Modifiers: public
Summary¶
Represents a descriptor-driven filter editor surface for grids and lists.
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Class hierarchy
classDiagram
class DataFilterPanel
class Control
Control <|-- DataFilterPanel
Inherits from: Control
Constructors¶
| Name | Summary |
|---|---|
| .ctor | Initializes a new instance of the [DataFilterPanel](# class. |
Properties¶
| Name | Summary |
|---|---|
| FilterState | Gets or sets the shared filter panel state projected by the control. |
| SearchText | Gets or sets the query text included when applying filters. |
| ResultCount | Gets or sets the optional result count included with the emitted query state. |
| SubmittedQueryState | Gets or sets the latest query state emitted by the panel. |
| ApplyFiltersCommand | Gets or sets the command invoked when filters are applied. |
| ClearFiltersCommand | Gets or sets the command invoked when filters are cleared. |
| AddFilterCommand | Gets or sets the command invoked when a descriptor should add or edit a filter. |
| RemoveFilterCommand | Gets or sets the command invoked when an active filter token should be removed. |
| ApplyCommand | Gets the command that applies current filters. |
| ClearCommand | Gets the command that clears current filters. |
Fields¶
| Name | Summary |
|---|---|
| static FilterStateProperty | Property for [FilterState](# |
| static SearchTextProperty | Property for [SearchText](# |
| static ResultCountProperty | Property for [ResultCount](# |
| static SubmittedQueryStateProperty | Property for [SubmittedQueryState](# |
| static ApplyFiltersCommandProperty | Property for [ApplyFiltersCommand](# |
| static ClearFiltersCommandProperty | Property for [ClearFiltersCommand](# |
| static AddFilterCommandProperty | Property for [AddFilterCommand](# |
| static RemoveFilterCommandProperty | Property for [RemoveFilterCommand](# |
Methods¶
| Name | Summary |
|---|---|
| CreateQueryState | Creates a search query snapshot from the current filter state. |
| ApplyFilters | Applies the current filters and emits a query-state snapshot. |
| ClearFilters | Clears current filters through the configured command hook. |