Partager via


ShapeElement.HasChildren Property

true if the shape has child shapes.

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

Syntax

'Declaration
Public ReadOnly Property HasChildren As Boolean
public bool HasChildren { get; }
public:
property bool HasChildren {
    bool get ();
}
member HasChildren : bool with get
function get HasChildren () : boolean

Property Value

Type: System.Boolean

Remarks

Every child shape is either in NestedChildShapes or in RelativeChildShapes.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace