corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionsprint-398aee6d.md
Gets or sets whether unused filter fields are printed/exported.
Namespace : DevExpress.XtraPivotGrid
Assembly : DevExpress.PivotGrid.v25.2.Core.dll
NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
[DefaultValue(true)]
public bool PrintUnusedFilterFields { get; set; }
<DefaultValue(True)>
Public Property PrintUnusedFilterFields As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if unused filter fields are printed/exported; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to PrintUnusedFilterFields |
|---|---|
| PivotGridControl |
.OptionsPrint .PrintUnusedFilterFields
|
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