FlexGrid for WinForms
AutoSizeRows(Int32,Int32,Int32,Int32,Int32,AutoSizeFlags) Method



Top row in the range.
Left column in the range.
Bottom row in the range.
Right column in the range.
Amount of extra space, in pixels, to add to the column widths.
Flags that control auto-sizing options.
Adjusts the height of a row range to fit the data in a cell range.
Syntax
'Declaration
 
Public Overloads Overridable Sub AutoSizeRows( _
   ByVal topRow As Integer, _
   ByVal leftCol As Integer, _
   ByVal bottomRow As Integer, _
   ByVal rightCol As Integer, _
   ByVal extraSpace As Integer, _
   ByVal flags As AutoSizeFlags _
) 
'Usage
 
Dim instance As C1FlexGridBase
Dim topRow As Integer
Dim leftCol As Integer
Dim bottomRow As Integer
Dim rightCol As Integer
Dim extraSpace As Integer
Dim flags As AutoSizeFlags
 
instance.AutoSizeRows(topRow, leftCol, bottomRow, rightCol, extraSpace, flags)
public virtual void AutoSizeRows( 
   int topRow,
   int leftCol,
   int bottomRow,
   int rightCol,
   int extraSpace,
   AutoSizeFlags flags
)
public:
virtual void AutoSizeRows( 
   int topRow,
   int leftCol,
   int bottomRow,
   int rightCol,
   int extraSpace,
   AutoSizeFlags flags
) 

Parameters

topRow
Top row in the range.
leftCol
Left column in the range.
bottomRow
Bottom row in the range.
rightCol
Right column in the range.
extraSpace
Amount of extra space, in pixels, to add to the column widths.
flags
Flags that control auto-sizing options.
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