PivotGridControl.BestFit(FieldArea) Method
In This Article
Resizes the columns and rows which correspond to the fields contained within the specified area, to the minimum width and height required to completely display their contents.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v14.2.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
area | Field |
A Field |
#Remarks
The BestFit method resizes the column(s) that correspond to the fields displayed within the specified area (Row Header Area or Column Header Area), to entirely display their contents. The BestFit method takes into account:
- a field header's width;
- field values;
- summary values displayed within the columns that correspond to data fields.
NOTE
The Best Fit is available only after the Pivot
To learn more, see Best Fit.
See Also