ComponentOne FlexGrid for WPF and Silverlight
AutoSizeRows(Int32,Int32,Double,Boolean) Method

C1.Silverlight.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.
Resizes a row range to fit their content.
Syntax
'Declaration
 
Public Overloads Sub AutoSizeRows( _
   ByVal startRow As System.Integer, _
   ByVal endRow As System.Integer, _
   ByVal extra As System.Double, _
   ByVal allCells As System.Boolean _
) 
public void AutoSizeRows( 
   System.int startRow,
   System.int endRow,
   System.double extra,
   System.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

Reference

C1FlexGrid Class
C1FlexGrid Members
Overload List