Skip to main content

DataViewBase.AllowedGroupFilters Property

Gets or sets group filters that the GridControl supports.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v23.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public AllowedGroupFilters? AllowedGroupFilters { get; set; }

Property Value

Type Description
Nullable<AllowedGroupFilters>

AllowedGroupFilters

Available values:

Name Description
None

There are no allowed filters.

And

Specifies the And group filter.

Or

Specifies the Or group filter.

NotAnd

Specifies the Not And group filter.

NotOr

Specifies the Not Or group criteria.

All

All filters are allowed.

Remarks

The AllowedGroupFilters property affects the Filter Editor only. Column drop-down filters always create conditions combined by the And operator.

Refer to the following help topic for a complete list of properties that specify supported filters: Allowed Filters.

Example 1

<dxg:TableView AllowFilterEditor="True" AllowedGroupFilters="None" />

The Filter Editor does not allow you to add groups. You can add only one node in the root group:

FilterEditorFiltersNone

Example 2

<dxg:TableView AllowFilterEditor="True" AllowedGroupFilters="And,Or" />

You can add only groups with the specified type:

FilterEditrorFiltersAndOr

See Also