Table of Contents

Class ColumnSizeHelper

Namespace
SunamoShared.Control
Assembly
SunamoShared.dll

Helper for calculating column widths in grid layouts.

public class ColumnSizeHelper
Inheritance
ColumnSizeHelper
Inherited Members
Extension Methods

Methods

CalculateWidthOfColumnsAgain(List<double>, double)

Redistributes a width change evenly across all non-zero columns.

public static List<double> CalculateWidthOfColumnsAgain(List<double> columnWidths, double widthChange)

Parameters

columnWidths List<double>

The list of column widths.

widthChange double

The total width change to distribute.

Returns

List<double>