PivotGridOptionsBehaviorBase.BestFitMode Property
Gets or sets which visual elements are taken into account when calculating the optimal width for columns.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v24.2.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
#Declaration
[DefaultValue(PivotGridBestFitMode.Default)]
public PivotGridBestFitMode BestFitMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Pivot |
Default | A Pivot |
Available values:
Name | Description |
---|---|
None | The best-fit functionality is disabled. |
Field |
The contents of field values are taken into account when calculating the best-fit size. |
Field |
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 Pivot |
#Remarks
To learn more, see Best Fit.