Back to Devexpress

PivotGridBestFitMode Enum

corelibraries-devexpress-dot-xtrapivotgrid-f307e98d.md

latest2.4 KB
Original Source

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.v25.2.Core.dll

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

Declaration

csharp
[Flags]
public enum PivotGridBestFitMode
vb
<Flags>
Public Enum PivotGridBestFitMode

Members

NameDescription
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.

|

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

BestFitMode

DevExpress.XtraPivotGrid Namespace