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

'宣言
Protected Overridable ReadOnly Property CollapsedSize As SizeD
'使用
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.

Permissions

See Also

Reference

Compartment Class

Compartment Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace