windowsforms-devexpress-dot-dataaccess-dot-ui-dot-filtereditorcontrol-5faddaeb.md
Gets or sets how a Filter Editor’s criteria can be edited.
Namespace : DevExpress.DataAccess.UI
Assembly : DevExpress.DataAccess.v25.2.UI.dll
NuGet Package : DevExpress.DataAccess.UI
[DefaultValue(FilterEditorViewMode.VisualAndText)]
public FilterEditorViewMode ViewMode { get; set; }
<DefaultValue(FilterEditorViewMode.VisualAndText)>
Public Property ViewMode As FilterEditorViewMode
| Type | Default | Description |
|---|---|---|
| FilterEditorViewMode | VisualAndText |
A FilterEditorViewMode enumeration value that specifies how a Filter Editor’s criteria can be edited.
|
Available values:
| Name | Description |
|---|---|
| Text |
The Filter Editor’s filter can be solely edited in text form, using a dedicated text editor.
| | Visual |
The Filter Editor’s filter can be solely edited in a visual form, using a dedicated tree view.
| | VisualAndText |
A Filter Editor displays two pages: Visual and Text, allowing an end-user to build filters in visual and text forms respectively.
| | TextAndVisual |
A Filter Editor displays two pages: Text and Visual, allowing an end-user to build filters in text and visual forms respectively.
|
Use the ViewMode property to specify whether filters can be edited in a Tree-Like or text-based form, or using both forms.
See Also