CompartmentShape.AllowsChildrenToResizeParent Property
If true (default), when child shapes and shape fields such as headers expand, the shape also expands; if false, children are clipped to the current bounds of this shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property AllowsChildrenToResizeParent As Boolean
'Usage
Dim instance As CompartmentShape
Dim value As Boolean
value = instance.AllowsChildrenToResizeParent
public override bool AllowsChildrenToResizeParent { get; }
public:
virtual property bool AllowsChildrenToResizeParent {
bool get () override;
}
public override function get AllowsChildrenToResizeParent () : boolean
Property Value
Type: System.Boolean
Remarks
Override this property to change it.
.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.