Skip to main content

PivotGridField.BestFitMaxRowCount Property

Gets or sets the number of cells taken into account when calculating the optimal width required for a column (or row) to completely display its contents. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v22.1.dll


public int BestFitMaxRowCount { get; set; }

Property Value

Type Description

An integer value that specifies the number of processed cells.


The BestFitMaxRowCount property allows you to override the behavior specified by the pivot grid’s PivotGridControl.BestFitMaxRowCount property.

To learn more, see Best Fit.

See Also