Gets the child compartment shape and verifies whether resizing it will also resize its parent compartment shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overrides ReadOnly Property AllowsChildrenToShrinkParent As ResizeDirection
'使用
Dim instance As CompartmentShape
Dim value As ResizeDirection
value = instance.AllowsChildrenToShrinkParent
public override ResizeDirection AllowsChildrenToShrinkParent { get; }
public:
virtual property ResizeDirection AllowsChildrenToShrinkParent {
ResizeDirection get () override;
}
public override function get AllowsChildrenToShrinkParent () : ResizeDirection
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.ResizeDirection
The height if the height of the compartment shape can be resized. The width if the width of the compartment shape can be modified.
Remarks
By default, only the height can be resized.
Permissions
- 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.