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)
Syntax
'宣告
Public Overridable ReadOnly Property AutoResizeParentOnBoundsChange As Boolean
Get
public virtual bool AutoResizeParentOnBoundsChange { get; }
public:
virtual property bool AutoResizeParentOnBoundsChange {
bool get ();
}
abstract AutoResizeParentOnBoundsChange : bool
override AutoResizeParentOnBoundsChange : bool
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.