PivotBestFitHelper
Measures PivotGrid column and row headers and applies the resulting sizes to their groups.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.PivotGrid.dll
Syntax:
public class PivotBestFitHelper
Inheritance: objectPivotBestFitHelper
Constructors
Initializes the helper for the specified PivotGrid element.
public PivotBestFitHelper(RadPivotGridElement owner)
The element whose headers and cells are measured.
Methods
Measures a column header and its cells, then stores the widest measured width on the group.
public void BestFitColumn(PivotGroupNode column)
The column group whose preferred width is recalculated.
Recalculates widths for traversed column groups, fitting leaf groups or all groups in compact layout.
public void BestFitColumns()
Recalculates the width of every row-header level from its descriptor and group labels.
public void BestFitRowHeaders()
Recalculates the width of one row-header level from its descriptor and group labels.
public void BestFitRowHeaders(int level)
The row-group level whose header width is recalculated.