共用方式為


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
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