GoDiagram Web Reference
ComputeBounds Method (GoListGroup)

The width of this group is just the maximum width of all of the children, and the height is the sum of the heights of the items, incremented by the Spacing property between the items.
Syntax
'Declaration
 
Protected Overrides Function ComputeBounds() As RectangleF
protected override RectangleF ComputeBounds()

Return Value

a RectangleF describing the actual size and position of the whole group in document coordinates
Remarks

Of course, if Orientation is Horizontal, the width of this group is the sum of the widths of the items, incremented by the Spacing property between the items, and the height is just the maximum height of all of the children. This ignores child objects that are not Visible.

When TopIndex is non-negative, this group supports "scrolling". The Bounds is not determined by the size of the child objects, but can be set, possibly resulting in some objects at the start and at the end of the list being made not Visible.

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

GoListGroup Class
GoListGroup Members
Base Implementation in ComputeBounds

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback