Back to Devexpress

PivotGridControl.BestFitRowArea() Method

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotgridcontrol-b905d13c.md

latest1.8 KB
Original Source

PivotGridControl.BestFitRowArea() Method

Resizes columns that display row field values to the minimum width required to display their contents.

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public void BestFitRowArea()
vb
Public Sub BestFitRowArea

Remarks

To resize columns in the Data Area, use the PivotGridControl.BestFitColumnArea method.

You can also apply Best Fit to all columns, or to columns that correspond to a particular field. To do this, use the PivotGridControl.BestFit method.

See Also

BestFitColumnArea()

BestFit

BestFitDataHeaders(Boolean)

PivotGridControl Class

PivotGridControl Members

DevExpress.XtraPivotGrid Namespace