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

C1.WPF.FlexGrid Namespace > C1FlexGrid Class > AutoSizeColumns Method : AutoSizeColumns(Int32,Int32,Double) Method
Index of the first column to resize.
Index of the last column to resize.
Extra width to add to the column, in pixels.
Resizes a column range to fit their visible content.
Syntax
'Declaration
 
Public Overloads Sub AutoSizeColumns( _
   ByVal startCol As System.Integer, _
   ByVal endCol As System.Integer, _
   ByVal extra As System.Double _
) 
public void AutoSizeColumns( 
   System.int startCol,
   System.int endCol,
   System.double extra
)

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.
See Also

Reference

C1FlexGrid Class
C1FlexGrid Members
Overload List