FilterEditorControl.ViewMode Property
Gets or sets how a Filter Editor’s criteria can be edited.
Namespace: DevExpress.DataAccess.UI
Assembly: DevExpress.DataAccess.v24.1.UI.dll
NuGet Package: DevExpress.DataAccess.UI
Declaration
[DefaultValue(FilterEditorViewMode.VisualAndText)]
public FilterEditorViewMode ViewMode { get; set; }
Property Value
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. |
Remarks
Use the ViewMode property to specify whether filters can be edited in a Tree-Like or text-based form, or using both forms.