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

Syntax

'Declaration
Protected Overrides Sub Expand
protected override void Expand()
protected:
virtual void Expand() override
abstract Expand : unit -> unit 
override Expand : unit -> unit 
protected override function Expand()

Remarks

This method can be called only in a transaction.

.NET Framework Security

See Also

Reference

Compartment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace