BCGControlBar Library for .NET
AdjustLayout(Boolean,Boolean,Boolean,Boolean) Method




If true, recalculates scroll Maximum and LargeChange values.
If true, recalculates column Weight property if the current AutoSizeColumnMode is set to GridAutoSizeColumnMode.Fill.
If true, recalculates column header bounds.
If true, rebuilds list of cells.
Adjusts layout of grid control.
Syntax
'Declaration
 
Public Overloads Overridable Sub AdjustLayout( _
   ByVal recalcScrollInfo As Boolean, _
   ByVal resizeColumnFill As Boolean, _
   ByVal adjustGridColumns As Boolean, _
   ByVal recalcCellRects As Boolean _
) 
'Usage
 
Dim instance As GridControl
Dim recalcScrollInfo As Boolean
Dim resizeColumnFill As Boolean
Dim adjustGridColumns As Boolean
Dim recalcCellRects As Boolean
 
instance.AdjustLayout(recalcScrollInfo, resizeColumnFill, adjustGridColumns, recalcCellRects)
public virtual void AdjustLayout( 
   bool recalcScrollInfo,
   bool resizeColumnFill,
   bool adjustGridColumns,
   bool recalcCellRects
)
public: virtual void AdjustLayout( 
   bool recalcScrollInfo,
   bool resizeColumnFill,
   bool adjustGridColumns,
   bool recalcCellRects
) 
public:
virtual void AdjustLayout( 
   bool recalcScrollInfo,
   bool resizeColumnFill,
   bool adjustGridColumns,
   bool recalcCellRects
) 

Parameters

recalcScrollInfo
If true, recalculates scroll Maximum and LargeChange values.
resizeColumnFill
If true, recalculates column Weight property if the current AutoSizeColumnMode is set to GridAutoSizeColumnMode.Fill.
adjustGridColumns
If true, recalculates column header bounds.
recalcCellRects
If true, rebuilds list of cells.
Remarks
Call this function with desired parameters when the layout of grid has changed.
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

GridControl Class
GridControl Members
Overload List

Send Feedback