FlexGrid for WinForms
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 _
) 
'Usage
 
Dim instance As C1FlexGridBase
Dim leftCol As Integer
Dim rightCol As Integer
Dim extraSpace As Integer
 
instance.AutoSizeCols(leftCol, rightCol, extraSpace)
public virtual void AutoSizeCols( 
   int leftCol,
   int rightCol,
   int extraSpace
)
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.
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

C1FlexGridBase Class
C1FlexGridBase Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback