ShapeElement.AllowsChildrenToShrinkParent Property

Gets the value that determines whether the size of a parent of a child shape can be decreased when the size of the child shape decreases.

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

Syntax

'宣言
Public Overridable ReadOnly Property AllowsChildrenToShrinkParent As ResizeDirection
'使用
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

The direction in which the parent shape can be decreased.

Remarks

By default, the parent shape cannot be decreased.

Permissions

See Also

Reference

ShapeElement Class

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace