Share via


CompartmentShape.AllowsChildrenToShrinkParent Property

When children of this shape such as labels or compartments are deleted or get smaller, the shape can reduce in size, down to MinimumSize. Default is height only.

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

Syntax

'Declaration
Public Overrides ReadOnly Property AllowsChildrenToShrinkParent As ResizeDirection
'Usage
Dim instance As CompartmentShape 
Dim value As ResizeDirection 

value = instance.AllowsChildrenToShrinkParent
public override ResizeDirection AllowsChildrenToShrinkParent { get; }
public:
virtual property ResizeDirection AllowsChildrenToShrinkParent {
    ResizeDirection get () override;
}
public override function get AllowsChildrenToShrinkParent () : ResizeDirection

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.ResizeDirection

Remarks

Values are Height, Width, Both or None. The default is Height.

Override this property to change it.

.NET Framework Security

See Also

Reference

CompartmentShape Class

CompartmentShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace