Share via


ShapeElement.AllowsChildrenToShrinkParent Property

If true, this shape will reduce in size to fit around its children when they are re-sized or moved.

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

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.ResizeDirection

Remarks

Default value is false.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace

MinimumSize