skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadDataFilterView

Provides a view of the FilterDescriptors collection of a QueryableCollectionView and allows for modifying the filters through a RadDataFilter.

Inheritance
System.Object
RadDataFilterView
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Data.dll

Syntax

public class RadDataFilterView : Control, IThemable

Constructors

RadDataFilterView()

Declaration
public RadDataFilterView()

Fields

AutoGeneratingItemPropertyDefinitionHandlerProperty

Identifies the AutoGeneratingItemPropertyDefinitionHandler dependency property.

Declaration
public static readonly DependencyProperty AutoGeneratingItemPropertyDefinitionHandlerProperty
Field Value
System.Windows.DependencyProperty

CanToggleWrappingProperty

Identifies the CanToggleWrapping dependency property.

Declaration
public static readonly DependencyProperty CanToggleWrappingProperty
Field Value
System.Windows.DependencyProperty

CloseButtonVisibilityProperty

Identifies the CloseButtonVisibility dependency property.

Declaration
public static readonly DependencyProperty CloseButtonVisibilityProperty
Field Value
System.Windows.DependencyProperty

EditorCreatedHandlerProperty

Identifies the EditorCreatedHandler dependency property.

Declaration
public static readonly DependencyProperty EditorCreatedHandlerProperty
Field Value
System.Windows.DependencyProperty

EmptyFiltersContentProperty

Identifies the EmptyFiltersContent dependency property.

Declaration
public static readonly DependencyProperty EmptyFiltersContentProperty
Field Value
System.Windows.DependencyProperty

EmptyFiltersContentTemplateProperty

Identifies the EmptyFiltersContentTemplate dependency property.

Declaration
public static readonly DependencyProperty EmptyFiltersContentTemplateProperty
Field Value
System.Windows.DependencyProperty

FilterEditorWindowHeightProperty

Identifies the FilterEditorWindowHeight dependency property.

Declaration
public static readonly DependencyProperty FilterEditorWindowHeightProperty
Field Value
System.Windows.DependencyProperty

FilterEditorWindowWidthProperty

Identifies the FilterEditorWindowWidth dependency property.

Declaration
public static readonly DependencyProperty FilterEditorWindowWidthProperty
Field Value
System.Windows.DependencyProperty

FilterOperatorsLoadingHandlerProperty

Identifies the FilterOperatorsLoadingHandler dependency property.

Declaration
public static readonly DependencyProperty FilterOperatorsLoadingHandlerProperty
Field Value
System.Windows.DependencyProperty

FilterPartsSpacingProperty

Identifies the FilterPartsSpacing dependency property.

Declaration
public static readonly DependencyProperty FilterPartsSpacingProperty
Field Value
System.Windows.DependencyProperty

FilterPartViewModelsProperty

Identifies the FilterPartViewModels dependency property.

Declaration
public static readonly DependencyProperty FilterPartViewModelsProperty
Field Value
System.Windows.DependencyProperty

IsWrappingEnabledProperty

Identifies the IsWrappingEnabled dependency property.

Declaration
public static readonly DependencyProperty IsWrappingEnabledProperty
Field Value
System.Windows.DependencyProperty

ShouldRemoveFiltersOnCloseProperty

Identifies the ShouldRemoveFiltersOnClose dependency property.

Declaration
public static readonly DependencyProperty ShouldRemoveFiltersOnCloseProperty
Field Value
System.Windows.DependencyProperty

SourceProperty

Identifies the Source dependency property.

Declaration
public static readonly DependencyProperty SourceProperty
Field Value
System.Windows.DependencyProperty

Properties

AutoGeneratingItemPropertyDefinitionHandler

Gets or sets an System.EventHandler that will be attached to the AutoGeneratingItemPropertyDefinition event of the RadDataFilter in the FilterEditorDialog.

Declaration
public EventHandler<DataFilterAutoGeneratingItemPropertyDefinitionEventArgs> AutoGeneratingItemPropertyDefinitionHandler { get; set; }
Property Value
System.EventHandler<DataFilterAutoGeneratingItemPropertyDefinitionEventArgs>

CanToggleWrapping

Gets a boolean value indicating whether the button for enabling the wrapping of the filter parts is visible.

Declaration
public bool CanToggleWrapping { get; }
Property Value
System.Boolean

CloseButtonVisibility

Gets or sets the Visibility of the close button.

Declaration
public Visibility CloseButtonVisibility { get; set; }
Property Value
System.Windows.Visibility

EditorCreatedHandler

Gets or sets an System.EventHandler that will be attached to the EditorCreated event of the RadDataFilter in the FilterEditorDialog.

Declaration
public EventHandler<EditorCreatedEventArgs> EditorCreatedHandler { get; set; }
Property Value
System.EventHandler<EditorCreatedEventArgs>

EmptyFiltersContent

Gets or sets the Content of the ContentPresenter shown when the filters are empty.

Declaration
public object EmptyFiltersContent { get; set; }
Property Value
System.Object

EmptyFiltersContentTemplate

Gets or sets the ContentTemplate of the ContentPresenter shown when the filters are empty.

Declaration
public DataTemplate EmptyFiltersContentTemplate { get; set; }
Property Value
System.Windows.DataTemplate

FilterEditorWindowHeight

Gets or sets the Height of the window that hosts the FilterEditorDialog.

Declaration
public double FilterEditorWindowHeight { get; set; }
Property Value
System.Double

FilterEditorWindowWidth

Gets or sets the Width of the window that hosts the FilterEditorDialog.

Declaration
public double FilterEditorWindowWidth { get; set; }
Property Value
System.Double

FilterOperatorsLoadingHandler

Gets or sets an System.EventHandler that will be attached to the FilterOperatorsLoading event of the RadDataFilter in the FilterEditorDialog.

Declaration
public EventHandler<FilterOperatorsLoadingEventArgs> FilterOperatorsLoadingHandler { get; set; }
Property Value
System.EventHandler<FilterOperatorsLoadingEventArgs>

FilterPartsSpacing

Gets or sets a double value that indicates how much spacing will be applied between FilterPart elements.

Declaration
public double FilterPartsSpacing { get; set; }
Property Value
System.Double

FilterPartViewModels

Gets a readonly collection of the view models that represent the parts of the filtering expression.

Declaration
public IList<FilterPartViewModel> FilterPartViewModels { get; }
Property Value
System.Collections.Generic.IList<FilterPartViewModel>

IsWrappingEnabled

Gets or sets a boolean value indicating the whether the FilterPartsItemsControl will use wrapping when the available space is not enough to display all filter parts.

Declaration
public bool IsWrappingEnabled { get; set; }
Property Value
System.Boolean

ShouldRemoveFiltersOnClose

Gets or sets a boolean value indicating whether the generated filters should be removed on close.

Declaration
public bool ShouldRemoveFiltersOnClose { get; set; }
Property Value
System.Boolean

Source

Gets or sets the QueryableCollectionView instance that the control uses.

Declaration
public QueryableCollectionView Source { get; set; }
Property Value
QueryableCollectionView

Methods

ApplyFilters()

Refreshes the FilterPartViewModels collection and applies the FilterDescriptors to the Source.

Declaration
protected virtual void ApplyFilters()

CancelFilters()

Cancels the filters and restore the initial FilterDescriptors present when the FilterEditorDialog was opened.

Declaration
protected virtual void CancelFilters()

OnApplyTemplate()

Declaration
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer

OnInitialized(EventArgs)

Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs e

OnRenderSizeChanged(SizeChangedInfo)

Declaration
protected override void OnRenderSizeChanged(SizeChangedInfo sizeInfo)
Parameters
System.Windows.SizeChangedInfo sizeInfo

OpenFilterEditor(Boolean)

Opens a RadWindow containing the FilterEditorDialog.

Declaration
protected virtual void OpenFilterEditor(bool showModal = true)
Parameters
System.Boolean showModal

RemoveFilters()

Removes the applied filters from the Source FilterDescriptors.

Declaration
public void RemoveFilters()

ResetTheme()

Resets the theme.

Declaration
public void ResetTheme()

SelectFilters()

Closes the FilterEditorDialog, refreshes the FilterPartViewModels collection and applies the FilterDescriptors to the Source.

Declaration
protected virtual void SelectFilters()

ToggleWrapping()

Turns the wrapping of the filter parts on and off.

Declaration
protected virtual void ToggleWrapping()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.