Share via


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

Syntax

'Declaration
Public Overridable ReadOnly Property AutoResizeParentOnBoundsChange As Boolean
public virtual bool AutoResizeParentOnBoundsChange { get; }
public:
virtual property bool AutoResizeParentOnBoundsChange {
    bool get ();
}
abstract AutoResizeParentOnBoundsChange : bool with get 
override AutoResizeParentOnBoundsChange : bool with get
function get AutoResizeParentOnBoundsChange () : boolean

Property Value

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

Remarks

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.

.NET Framework Security

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace