[]
The C1DataFilter lets users filter data based on criteria's. It can be bound to any data-aware control and multiple conditional filtering could be applied.
[StyleTypedProperty(Property = "ExpandIconStyle", StyleTargetType = typeof(ContentControl))]
[StyleTypedProperty(Property = "PopupStyle", StyleTargetType = typeof(C1PopupBorder))]
[TemplatePart(Name = "Items", Type = typeof(ItemsPresenter))]
public class C1DataFilter : C1Accordion
| Name | Description |
|---|---|
| C1DataFilter() | Initializes a new instance of the C1DataFilter class. |
| Name | Description |
|---|---|
| AutoApplyProperty | Identifies the AutoApply dependency property. |
| AutoGenerateFiltersProperty | Identifies the AutoGenerateFilters dependency property. |
| ChecklistEmptyFilterBehaviorProperty | Identifies the ChecklistEmptyFilterBehavior dependency property. |
| ItemsSourceProperty | Identifies the ItemsSource dependency property. |
| PopupStyleProperty | Identifies the PopupStyle dependency property. |
| Name | Description |
|---|---|
| AutoApply | Gets or sets a value indicating whether the filter should be automatically applied to the DataSource after the filter value is changed or not. |
| AutoGenerateFilters | Gets or sets a value indicating whether to generate filters automatically. |
| ChecklistEmptyFilterBehavior | Gets or sets the behavior when CheckListFilter is assigned an empty expression. |
| DataCollection | Gets the underlying data collection used to filter the original ItemsSource collection. |
| Filters | Gets the collection of filters. |
| Items | Gets the collection used to get the C1.WPF.Accordion.C1Expander item containers. |
| ItemsSource | Gets or sets the object used as the data source for the current C1DataFilter control. |
| PopupStyle | Gets or sets the Style applied to the menu. |
| View | Gets the result of filtering the ItemsSource. |
| Name | Description |
|---|---|
| AutoApplyChanged | Event raised when the AutoApply property has changed. |
| AutoGenerateFiltersChanged | Event raised when the AutoGenerateFilters property has changed. |
| FilterAutoGenerating | Occurs before the filter is added to the Filters. Allows to cancel the change. |
| FilterChanged | Occurs when the filter changes. |
| FilterChanging | Occurs before the filter is changed. Allows to cancel the change. |
| FilterValueChanged | Occurs when a value of the filter changes. |
| ItemsSourceChanged | Event raised when the ItemsSource property has changed. |