Skip to main content

PivotGridControl.AllowFilter Property

Gets or sets whether filter buttons are displayed within field headers. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v25.2.dll

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public bool AllowFilter { get; set; }

Property Value

Type Description
Boolean

true to display filter buttons within field headers; otherwise, false.

Remarks

The AllowFilter property is in effect for those fields whose PivotGridField.AllowFilter property is set to null. If the AllowFilter property is set to false, end-users are prevented from applying filter conditions to field values.

Field values can also be filtered via code using the PivotGridField.FilterValues property.

To learn more, see Filtering Basics.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowFilter property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also