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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Public Overridable ReadOnly Property AllowsChildrenToShrinkParent As ResizeDirection
Get
public virtual ResizeDirection AllowsChildrenToShrinkParent { get; }
public:
virtual property ResizeDirection AllowsChildrenToShrinkParent {
ResizeDirection get ();
}
abstract AllowsChildrenToShrinkParent : ResizeDirection
override AllowsChildrenToShrinkParent : ResizeDirection
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.