Compartment.CollapsedSize Property

Gets the size of the collapsed compartment shape.

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

Syntax

'Declaration
Protected Overridable ReadOnly Property CollapsedSize As SizeD
protected virtual SizeD CollapsedSize { get; }
protected:
virtual property SizeD CollapsedSize {
    SizeD get ();
}
abstract CollapsedSize : SizeD with get 
override CollapsedSize : SizeD with get
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

Microsoft.VisualStudio.Modeling.Diagrams Namespace