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

Syntax

'Declaration
Public Overridable ReadOnly Property AutoResizeParentOnBoundsChange As Boolean
'Usage
Dim instance As NodeShape 
Dim value As Boolean 

value = instance.AutoResizeParentOnBoundsChange
public virtual bool AutoResizeParentOnBoundsChange { get; }
public:
virtual property bool AutoResizeParentOnBoundsChange {
    bool get ();
}
public function get AutoResizeParentOnBoundsChange () : boolean

Property Value

Type: System.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

NodeShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace