FlexGrid for WinRT
AutoSizeFixedColumns(Int32,Int32,Double,Boolean,Boolean) Method

Index of the first column to resize.
Index of the last column to resize.
Extra width to add to the column, in pixels.
Whether to measure all cells, including those that are not currently visible.
Whether to skip star-sized columns.
Resizes a range of fixed columns to fit their content.
Syntax
'Declaration
 
Public Overloads Sub AutoSizeFixedColumns( _
   ByVal startCol As System.Integer, _
   ByVal endCol As System.Integer, _
   ByVal extra As System.Double, _
   ByVal allCells As System.Boolean, _
   ByVal skipStars As System.Boolean _
) 
public void AutoSizeFixedColumns( 
   System.int startCol,
   System.int endCol,
   System.double extra,
   System.bool allCells,
   System.bool skipStars
)

Parameters

startCol
Index of the first column to resize.
endCol
Index of the last column to resize.
extra
Extra width to add to the column, in pixels.
allCells
Whether to measure all cells, including those that are not currently visible.
skipStars
Whether to skip star-sized columns.
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1FlexGrid Class
C1FlexGrid Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.

Product Support Forum  |   Documentation Feedback