This documentation is archived and is not being maintained.

NodeShape.CanExpandAndCollapse Property

Gets the shape and verifies whether a user can expand and collapse it.

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

public virtual bool CanExpandAndCollapse { get; }

Property Value

Type: Boolean
true if a user can expand and collapse the shape; otherwise, false.

This property is used by accessibility to determine whether this shape has an expanded state to report.