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

Syntax

'Declaration
Public Overrides ReadOnly Property AllowsChildrenToShrinkParent As ResizeDirection
public override ResizeDirection AllowsChildrenToShrinkParent { get; }
public:
virtual property ResizeDirection AllowsChildrenToShrinkParent {
    ResizeDirection get () override;
}
abstract AllowsChildrenToShrinkParent : ResizeDirection
override AllowsChildrenToShrinkParent : ResizeDirection
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

Microsoft.VisualStudio.Modeling.Diagrams Namespace