GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoListGroup Class / ComputeBounds Method
In This Topic
    ComputeBounds Method (GoListGroup)
    In This Topic
    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
    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 GoObject.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.

    See Also