[]
        
(Showing Draft Content)

C1.WPF.FlexGrid.GridPanel.AutoSizeColumn

AutoSizeColumn Method

AutoSizeColumn(int, double, bool)

Resizes a column to fit its visible contents.

Declaration
public double AutoSizeColumn(int col, double extra, bool allCells)
Parameters
Type Name Description
int col

Index of the column to resize.

double extra

Extra width to add to the column in pixels.

bool allCells

Whether to measure all cells or only the visible ones.

Returns
Type Description
double

The new column width in pixels.