Back to Devexpress

DataViewBase.AllowFilterEditorAggregateOperands Property

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

latest3.2 KB
Original Source

DataViewBase.AllowFilterEditorAggregateOperands Property

Gets or sets whether users can create aggregate filters in the Filter Editor. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public AllowFilterEditorAggregateOperands AllowFilterEditorAggregateOperands { get; set; }
vb
Public Property AllowFilterEditorAggregateOperands As AllowFilterEditorAggregateOperands

Property Value

TypeDescription
AllowFilterEditorAggregateOperands

Specifies whether users can create aggregate filters in the Filter Editor.

|

Available values:

NameDescription
No

Users cannot create aggregate filters.

| | Aggregate |

Users can create aggregate filters against collection properties.

| | AggregateWithCondition |

Users can create aggregate filters against collection properties and collection items.

|

Remarks

You can use the Filter Editor to filter data by items in bound collection properties. The AllowFilterEditorAggregateOperands property specifies how users can create aggregate filters:

  • If you set the AllowFilterEditorAggregateOperands property to Aggregate, the Filter Editor creates a single aggregate condition:

  • If you set the AllowFilterEditorAggregateOperands property to AggregateWithCondition, the Filter Editor creates two conditions:

The Filter Editor displays all aggregate operators when you set the AllowFilterEditorAggregateOperands property to Aggregate or AggregateWithCondition. Use the ColumnBase.AllowedAggregateFilters property to customize the operator list for the column.

Note

We recommend that you create aggregate filters only against columns of types that implement the IList<T> or IList interface.

Refer to the following help topic for more information: Aggregate Filters.

See Also

DataViewBase Class

DataViewBase Members

DevExpress.Xpf.Grid Namespace