Xceed Grid for WinForms v4.3 Documentation
CalculateControlBoundsCore Method (TextViewer)


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Viewers Namespace > TextViewer Class : CalculateControlBoundsCore 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.
Syntax
'Declaration
 
Protected Overrides Sub CalculateControlBoundsCore( _
   ByVal cell As Cell, _
   ByRef bounds As Rectangle _
) 
'Usage
 
Dim instance As TextViewer
Dim cell As Cell
Dim bounds As Rectangle
 
instance.CalculateControlBoundsCore(cell, bounds)
protected override void CalculateControlBoundsCore( 
   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

TextViewer Class
TextViewer Members
Base Implementation in CalculateControlBoundsCore