共用方式為


NodeShape.PermitChildVisibility Method

Verifies whether the child shape can appear.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
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

Return Value

Type: System.Boolean
true if the child shape can appear; otherwise, false.

Remarks

Collapsed nodes hide their nested children

.NET Framework Security

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace