Partager via


CompartmentShape.AllowsChildrenToResizeParent Property

If true (default), when child shapes and shape fields such as headers expand, the shape also expands; if false, children are clipped to the current bounds of this shape.

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 Overrides ReadOnly Property AllowsChildrenToResizeParent As Boolean
public override bool AllowsChildrenToResizeParent { get; }
public:
virtual property bool AllowsChildrenToResizeParent {
    bool get () override;
}
abstract AllowsChildrenToResizeParent : bool with get 
override AllowsChildrenToResizeParent : bool with get
override function get AllowsChildrenToResizeParent () : boolean

Property Value

Type: System.Boolean

Remarks

Override this property to change it.

.NET Framework Security

See Also

Reference

CompartmentShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace