FlexGrid for WPF | ComponentOne
C1.WPF.FlexGrid.4.6.2 Assembly / C1.WPF.FlexGrid Namespace / C1FlexGrid Class / AutoSizeFixedRows Method / AutoSizeFixedRows(Int32,Int32,Double,Boolean) Method
Index of the first row to resize.
Index of the last row to resize.
Extra height to add to the row, in pixels.
Whether to measure all cells, including those that are not currently visible.

In This Topic
    AutoSizeFixedRows(Int32,Int32,Double,Boolean) Method
    In This Topic
    Resizes a range of fixed rows to fit their content.
    Syntax
    'Declaration
     
    Public Overloads Sub AutoSizeFixedRows( _
       ByVal startRow As Integer, _
       ByVal endRow As Integer, _
       ByVal extra As Double, _
       ByVal allCells As Boolean _
    ) 
    public void AutoSizeFixedRows( 
       int startRow,
       int endRow,
       double extra,
       bool allCells
    )

    Parameters

    startRow
    Index of the first row to resize.
    endRow
    Index of the last row to resize.
    extra
    Extra height to add to the row, in pixels.
    allCells
    Whether to measure all cells, including those that are not currently visible.
    Remarks
    Setting the allCells parameter to true causes the grid to create and measure cell elements for the entire grid content, including rows and columns that are not currently visible. This option may be very time consuming if the grid contains a lot of data.
    See Also