FlexGrid for WPF | ComponentOne
C1.WPF.FlexGrid.4.6.2 Assembly / C1.WPF.FlexGrid Namespace / GridPanel Class / AutoSizeRow Method
Index of the row to resize.
Extra height to add to the row in pixels.
Whether to measure all cells or only the visible ones.

In This Topic
    AutoSizeRow Method (GridPanel)
    In This Topic
    Resizes a row to fit its visible contents.
    Syntax
    'Declaration
     
    Public Function AutoSizeRow( _
       ByVal row As Integer, _
       ByVal extra As Double, _
       ByVal allCells As Boolean _
    ) As Double
    public double AutoSizeRow( 
       int row,
       double extra,
       bool allCells
    )

    Parameters

    row
    Index of the row to resize.
    extra
    Extra height to add to the row in pixels.
    allCells
    Whether to measure all cells or only the visible ones.

    Return Value

    The new row height in pixels.
    See Also