Northwoods.GoWPF 1.3.5 Assembly
ComputeBounds Method
See Also  Send Feedback
Northwoods.GoXam Namespace > DiagramPanel Class : ComputeBounds Method

parts
Compute the bounding rectangle that surrounds a given collection of parts.

Syntax

Visual Basic (Declaration) 
Public Overridable Function ComputeBounds( _
   ByVal parts As IEnumerable(Of Part) _
) As Rect
C# 
public virtual Rect ComputeBounds( 
   IEnumerable<Part> parts
)

Parameters

parts

Return Value

the union of the Bounds of all of the parts in parts, or Rect.Empty if there are no parts

Remarks

This does not skip parts that are not Visible.

Requirements

See Also

© 2012 All Rights Reserved.