Back to Devexpress

XRPivotGridField.BestFit() Method

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-pivotgrid-dot-xrpivotgridfield.md

latest1.7 KB
Original Source

XRPivotGridField.BestFit() Method

Resizes the columns that correspond to the current field to the minimum width required to completely display the column’s contents.

Namespace : DevExpress.XtraReports.UI.PivotGrid

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
public void BestFit()
vb
Public Sub BestFit

Remarks

This method can be applied to:

The method resizes the relevant columns, so that their contents are displayed completely.

See Also

BestFit

ApplyBestFitOnFieldDragging

XRPivotGridField Class

XRPivotGridField Members

DevExpress.XtraReports.UI.PivotGrid Namespace