Skip to main content
A newer version of this page is available. .

FilterEditorControl Class

Allows you to edit filters in a tree-like and/or text-based form.

Namespace: DevExpress.XtraFilterEditor

Assembly: DevExpress.XtraRichEdit.v17.2.dll

Declaration

[ToolboxTabName("DX.17.2: Data & Analytics")]
[ToolboxBitmap(typeof(RichEditControl), "Bitmaps256.FilterEditControl.bmp")]
public class FilterEditorControl :
    BaseStyleControl,
    ISyntaxHighlightService,
    IDisposable,
    IFilterControl,
    IFilterControlGetModel

Remarks

Using the FilterEditorControl.ViewMode property, you can choose whether to enable tree-like or text-based filter editing, or both. When both the filter editing features are enabled, two tabs are displayed in the FilterEditorControl, allowing users to build criteria in the tree-like and text forms.

The following image shows the FilterEditorControl, where only the text filter editing feature is enabled:

FilterEditorControl_TextViewStyle

The FilterEditorControl supports syntax highlighting and Intellisense:

FilterEditorControl2

In-place editors can be used to specify values in filter strings:

FilterEditorControl_UsingDateEdit

Almost all features of the FilterEditorControl are identical to those found in the FilterControl. See this link to learn more.

See Also