次の方法で共有


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

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace