Share via


CompartmentShape.CanExpandAndCollapse Property

If true, the user can collapse and expand the shape, hiding and showing the compartments. Defaults to true.

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

Syntax

'Declaration
Public Overrides ReadOnly Property CanExpandAndCollapse As Boolean
'Usage
Dim instance As CompartmentShape 
Dim value As Boolean 

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

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

CompartmentShape Class

CompartmentShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace