Skip to main content
A newer version of this page is available. .

PivotGridBestFitMode Enum

Contains values that specify which elements are taken into account when calculating the best-fit width for columns.

Namespace: DevExpress.XtraPivotGrid

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

Declaration

[Flags]
public enum PivotGridBestFitMode

Members

Name Description
None

The best-fit functionality is disabled.

FieldValue

The contents of field values are taken into account when calculating the best-fit size.

FieldHeader

The contents of field headers are taken into account when calculating the best-fit size.

Cell

The contents of data cells are taken into account when calculating the best-fit size.

Default

This option is the combination of the PivotGridBestFitMode.FieldValue, PivotGridBestFitMode.FieldHeader and PivotGridBestFitMode.Cell options.

Related API Members

The following properties accept/return PivotGridBestFitMode values:

Remarks

Use the PivotGridOptionsBehaviorBase.BestFitMode property to specify which elements are taken into account when calculating the best-fit width for columns.

See Also