Back to Devexpress

PivotGridField.AllowFilter Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridfield-227e5325.md

latest4.1 KB
Original Source

PivotGridField.AllowFilter Property

Gets or sets whether an end-user can apply a filter to the current field. This is a dependency property.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public bool? AllowFilter { get; set; }
vb
Public Property AllowFilter As Boolean?

Property Value

TypeDescription
Nullable<Boolean>

true if an end-user can apply a filter to the current field; otherwise, false.

|

Remarks

This property is in effect for fields displayed within a Column Header Area, Row Header Area and Filter Header Area. An end-user can apply a filter to these fields via filter buttons.

To learn more, see Filtering Basics.

The following code snippets (auto-collected from DevExpress Examples) contain references 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.

wpf-pivotgrid-customize-filter-drop-down/CS/WpfPivotCustomFilterDropDownExample/MainWindow.xaml#L71

xml
Name="fieldYear"
    AllowFilter="False"/>
<dxpg:PivotGridField

wpf-pivotgrid-how-to-display-underlying-data-asynchronously/CS/WpfDrillDownDataSourceExample/MainWindow.xaml#L52

xml
x:Name="fieldYear"
AllowFilter="False"
Area="ColumnArea"

wpf-pivotgrid-customize-the-cell-template/CS/HowToCustomizeCellTemplate/MainWindow.xaml#L20

xml
x:Name="fieldYear"
AllowFilter="False"
Area="ColumnArea"

wpf-pivotgrid-how-to-display-underlying-data/CS/WpfDrillDownDataSourceExample/MainWindow.xaml#L52

xml
x:Name="fieldYear"
AllowFilter="False"
Area="ColumnArea"

wpf-pivot-grid-define-custom-cell-template-to-performing-data-editing/CS/HowToEditCell/MainWindow.xaml#L55

xml
x:Name="fieldYear"
AllowFilter="False"
Area="ColumnArea"

See Also

FilterValues

PivotGridField Class

PivotGridField Members

DevExpress.Xpf.PivotGrid Namespace