C1.WPF.FlexGrid.4.6.2 Assembly / C1.WPF.FlexGrid Namespace / C1FlexGrid Class / AutoSizeRows Method / AutoSizeRows(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
AutoSizeRows(Int32,Int32,Double,Boolean) Method
In This Topic
Resizes a row range to fit their content.
Syntax
'Declaration
 
Public Overloads Sub AutoSizeRows( _
   ByVal startRow As Integer, _
   ByVal endRow As Integer, _
   ByVal extra As Double, _
   ByVal allCells As Boolean _
) 
 

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