Share via


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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property CanExpandAndCollapse As Boolean
'Usage
Dim instance As NodeShape 
Dim value As Boolean 

value = instance.CanExpandAndCollapse
public virtual bool CanExpandAndCollapse { get; }
public:
virtual property bool CanExpandAndCollapse {
    bool get ();
}
public function get CanExpandAndCollapse () : boolean

Property Value

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

Remarks

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

.NET Framework Security

See Also

Reference

NodeShape Class

NodeShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace