Share via


NodeShape.CalculateMinimumSizeBasedOnChildren Method

Calculates the minimum size needed so that the shape can include its child shapes.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Function CalculateMinimumSizeBasedOnChildren As SizeD
public SizeD CalculateMinimumSizeBasedOnChildren()
public:
SizeD CalculateMinimumSizeBasedOnChildren()
member CalculateMinimumSizeBasedOnChildren : unit -> SizeD
public function CalculateMinimumSizeBasedOnChildren() : SizeD

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
The minimum size needed so that the shape can include its child shapes.

.NET Framework Security

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace