NodeShape.PermitChildVisibility Method
Verifies whether the child shape can appear.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Protected Overrides Function PermitChildVisibility ( _
childShape As ShapeElement _
) As Boolean
'Usage
Dim childShape As ShapeElement
Dim returnValue As Boolean
returnValue = Me.PermitChildVisibility(childShape)
protected override bool PermitChildVisibility(
ShapeElement childShape
)
protected:
virtual bool PermitChildVisibility(
ShapeElement^ childShape
) override
protected override function PermitChildVisibility(
childShape : ShapeElement
) : boolean
Parameters
childShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe child shape to check.
Return Value
Type: System.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.