Skip to main content

PivotGridOptionsPrint.PrintUnusedFilterFields Property

Gets or sets whether unused filter fields are printed/exported.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v23.2.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
public bool PrintUnusedFilterFields { get; set; }

Property Value

Type Default Description
Boolean true

true if unused filter fields are printed/exported; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to PrintUnusedFilterFields
PivotGridControl
.OptionsPrint .PrintUnusedFilterFields

Remarks

If data is not filtered against a specific filter field and the PrintUnusedFilterFields property is set to false, this field’s header will not appear in a printout and in an export output. If the PrintUnusedFilterFields property is set to true, this field’s header will be printed/exported.

Note that the PrintUnusedFilterFields property is used to customize Pivot Grid export settings when data is exported in the WYSIWYG export mode. This property is not in effect for the data-aware mode. To customize the Pivot Grid export settings while exporting in data-aware mode, use the PivotXlsExportOptions and PivotXlsxExportOptions descendants.

See Also