NodeShape.PermitChildVisibility Method
Verifies whether the child shape can appear.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Protected Overrides Function PermitChildVisibility ( _
childShape As ShapeElement _
) As Boolean
protected override bool PermitChildVisibility(
ShapeElement childShape
)
protected:
virtual bool PermitChildVisibility(
ShapeElement^ childShape
) override
abstract PermitChildVisibility :
childShape:ShapeElement -> bool
override PermitChildVisibility :
childShape:ShapeElement -> bool
protected override function PermitChildVisibility(
childShape : ShapeElement
) : boolean
Parameters
childShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe child shape to check.
Return Value
Type: Boolean
true if the child shape can appear; otherwise, false.
Remarks
Collapsed nodes hide their nested children
.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.