共用方式為


ShapeElement.AllowsChildrenToResizeParent Property

true if this shape can be resized when the size or position of a child shape is changed.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

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

Property Value

Type: System.Boolean

Remarks

By default, the return value is false.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace

MaximumSize