[]
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.
public class C1DataFilter : C1Accordion, IDisposable
| 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 C1Expander item containers. |
| ItemsSource | Gets or sets the object used as the data source for the current C1DataFilter control. |
| PopupStyle | Gets or sets the Microsoft.UI.Xaml.Style applied to the menu. |
| View | Gets the result of filtering the ItemsSource. |
| Name | Description |
|---|---|
| ApplyFilter() | Applies the filter to the items source. |
| ApplyFilterAsync() | Applies the filter to the items source asynchronously. |
| DeserializeFilterExpression(string) | Deserialize xml and add expressions to the Filters collection. |
| Dispose(bool) | |
| GenerateFilters(bool) | Generates filters for the current items source. |
| LoadFilterExpression(string) | Loads expressions to the Filters collection from a file. |
| OnApplyTemplate() | |
| OnFilterAutoGenerating(FilterAutoGeneratingEventArgs) | Raises the FilterAutoGenerating event. |
| OnFilterChanged(EventArgs) | Raises the FilterChanged event. |
| OnFilterChanging(CancelEventArgs) | Raises the FilterChanging event. |
| OnFilterValueChanged(FilterChangedEventArgs) | Raises the FilterValueChanged event. |
| PrepareContainerForItemOverride(DependencyObject, object) | |
| Reset() | Reset Filters. |
| SaveFilterExpression(string) | Saves expressions from the Filters collection to a file. |
| SerializeFilterExpression() | Serialize the Filters collection to a xml content. |
| 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. |