Share 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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property AllowsChildrenToResizeParent As Boolean
'Usage
Dim instance As CompartmentShape 
Dim value As Boolean 

value = instance.AllowsChildrenToResizeParent
public override bool AllowsChildrenToResizeParent { get; }
public:
virtual property bool AllowsChildrenToResizeParent {
    bool get () override;
}
public 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

CompartmentShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace