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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.