Share via


Compartment.CollapsedSize Property

Gets the size of the collapsed compartment shape.

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

Syntax

'Declaration
Protected Overridable ReadOnly Property CollapsedSize As SizeD
'Usage
Dim value As SizeD 

value = Me.CollapsedSize
protected virtual SizeD CollapsedSize { get; }
protected:
virtual property SizeD CollapsedSize {
    SizeD get ();
}
protected function get CollapsedSize () : SizeD

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
The size of the collapsed compartment shape.

Remarks

When the compartment shape is collapsed, only the compartment header appears.

.NET Framework Security

See Also

Reference

Compartment Class

Compartment Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace