New to Telerik UI for WinFormsStart a free 30-day trial

Default Editors

Updated over 6 months ago

After you populate RadDataFilter with descriptor items, you are ready to build a filter expression. For each filter condition, a filter node is added. Each filter node is composed of a field name, a filter operator and a value. As soon as you click one of the filter node's elements, the editor for this element is activated.

WinForms RadDataFilter Default Editors

The default editor for the field name element and for the operator element is TreeViewDropDownListEditor offering you to select an option from a predefined list of available items. When you try to add a new filter node or modify an existing one, the appropriate editor is activated for the value element considering the DataFilterDescriptorItem.DescriptorType. You can find the default editor types listed below:

EditorDescription
TreeViewDropDownListEditorRelevant for the field name element and for the operator element.
TreeViewDateTimeEditorRelevant for DateTime values.
TreeViewSpinEditorRelevant for numeric values.
DataFilterColorPickerEditorRelevant for Color values.
TreeViewTextBoxEditorDefault editor for the rest of the value types.

In R1 2017 DataFilterCheckboxEditor was used for Boolean properties. Now, a permanent check box is displayed and the value filter node element doesn't enter in edit mode.

See Also

In this article
See Also
Not finding the help you need?
Contact Support