This topic has not yet been rated - Rate this topic

NodeShape.AutoResizeParentOnBoundsChange Property

Gets the child shape and verifies whether its parent shape should be resized when the absolute bounds for the child shape change.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public virtual bool AutoResizeParentOnBoundsChange { get; }

Property Value

Type: System.Boolean
true if the parent shape should be resized when the absolute bounds for the child shape change; otherwise, false.

If a shape doesn't require this functionality, it's better to override this property and return false - this will save some cycles spent in the rule.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ