Compartment.HeaderBounds Property

Gets the bounds for the compartment shape header.

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

Syntax

'Declaration
Public ReadOnly Property HeaderBounds As RectangleD
public RectangleD HeaderBounds { get; }
public:
property RectangleD HeaderBounds {
    RectangleD get ();
}
member HeaderBounds : RectangleD with get
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.

.NET Framework Security

See Also

Reference

Compartment Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace