ComponentOne FlexGrid for WinForms
AutoSizeCols(Int32,Int32,Int32) Method

C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class > AutoSizeCols Method : AutoSizeCols(Int32,Int32,Int32) Method
Left column in the range.
Right column in the range.
Amount of extra space, in pixels, to add to the column widths.
Adjusts the width of columns in a range to fit the data.
Syntax
'Declaration
 
Public Overloads Overridable Sub AutoSizeCols( _
   ByVal leftCol As Integer, _
   ByVal rightCol As Integer, _
   ByVal extraSpace As Integer _
) 
public virtual void AutoSizeCols( 
   int leftCol,
   int rightCol,
   int extraSpace
)

Parameters

leftCol
Left column in the range.
rightCol
Right column in the range.
extraSpace
Amount of extra space, in pixels, to add to the column widths.
See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members
Overload List