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

Syntax

'Declaration
Public Overridable ReadOnly Property AllowsChildrenToShrinkParent As ResizeDirection
'Usage
Dim instance As ShapeElement 
Dim value As ResizeDirection 

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

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace

MinimumSize