Back to Devexpress

DataViewBase.AllowedGroupFilters Property

wpf-devexpress-dot-xpf-dot-grid-dot-dataviewbase-bf0984d4.md

latest2.7 KB
Original Source

DataViewBase.AllowedGroupFilters Property

Gets or sets group filters that the GridControl supports.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public AllowedGroupFilters? AllowedGroupFilters { get; set; }
vb
Public Property AllowedGroupFilters As AllowedGroupFilters?

Property Value

TypeDescription
Nullable<AllowedGroupFilters>

AllowedGroupFilters

|

Available values:

NameDescription
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

xaml
<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:

Example 2

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

You can add only groups with the specified type:

See Also

DataViewBase Class

DataViewBase Members

DevExpress.Xpf.Grid Namespace