Skip to main content

PivotGridOptionsPrint.PrintUnusedFilterFields Property

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.1.Core.dll

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

Declaration

[TypeConverter(typeof(BooleanTypeConverter))]
[XtraSerializableProperty]
public bool PrintUnusedFilterFields { get; set; }

Property Value

Type Description
Boolean

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