Compartment.HeaderBounds Property

Gets the bounds for the compartment shape header.

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

Syntax

'宣言
Public ReadOnly Property HeaderBounds As RectangleD
'使用
Dim instance As Compartment
Dim value As RectangleD

value = instance.HeaderBounds
public RectangleD HeaderBounds { get; }
public:
property RectangleD HeaderBounds {
    RectangleD get ();
}
public function get HeaderBounds () : RectangleD

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

The bounds for the compartment shape header.

Remarks

The bounds for the header are relative to the top-left corner of the compartment shape.

Permissions

See Also

Reference

Compartment Class

Compartment Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace