Compartment.CollapsedSize Property

Gets the size of the collapsed compartment shape.

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

Syntax

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