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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.