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

Syntax

'Declaration
Public Overrides ReadOnly Property CanExpandAndCollapse As Boolean
public override bool CanExpandAndCollapse { get; }
public:
virtual property bool CanExpandAndCollapse {
    bool get () override;
}
abstract CanExpandAndCollapse : bool with get 
override CanExpandAndCollapse : bool with get
override function get CanExpandAndCollapse () : boolean

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

CompartmentShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace