Xceed Grid for WinForms v4.3 Documentation
CalculateControlBounds Method


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Viewers Namespace > CellViewerManager Class : CalculateControlBounds Method
The Xceed.Grid.Cell whose content is to be displayed by the viewer.
A System.Drawing.Rectangle structure representing the bounds of the viewer.
Calculates the bounds of the viewer and raises the QueryControlBounds event.
Syntax
'Declaration
 
Protected Friend Sub CalculateControlBounds( _

   ByVal cell As Cell, _

   ByRef bounds As Rectangle _

) 
'Usage
 
Dim instance As CellViewerManager

Dim cell As Cell

Dim bounds As Rectangle

 

instance.CalculateControlBounds(cell, bounds)
protected internal void CalculateControlBounds( 

   Cell cell,

   ref Rectangle bounds

)

Parameters

cell
The Xceed.Grid.Cell whose content is to be displayed by the viewer.
bounds
A System.Drawing.Rectangle structure representing the bounds of the viewer.
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

CellViewerManager Class
CellViewerManager Members