Share via


Compartment.Expand Method

Expands the compartment shape so that both the compartment header and body appear.

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

Syntax

'Declaration
Protected Overrides Sub Expand
'Usage
Me.Expand()
protected override void Expand()
protected:
virtual void Expand() override
protected override function Expand()

Remarks

This method can be called only in a transaction.

.NET Framework Security

See Also

Reference

Compartment Class

Compartment Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace