共用方式為


NodeShape.CalculateMinimumSizeBasedOnChildren Method

Definition

Calculates the minimum size needed for this shape to fit all of its children within it.

public:
 Microsoft::VisualStudio::Modeling::Diagrams::SizeD CalculateMinimumSizeBasedOnChildren();
public Microsoft.VisualStudio.Modeling.Diagrams.SizeD CalculateMinimumSizeBasedOnChildren ();
member this.CalculateMinimumSizeBasedOnChildren : unit -> Microsoft.VisualStudio.Modeling.Diagrams.SizeD
Public Function CalculateMinimumSizeBasedOnChildren () As SizeD

Returns

Returns the minimum size needed for this shape.

Applies to