Compartment.HeaderBounds Property
Gets the bounds for the compartment shape header.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
Public ReadOnly Property HeaderBounds As RectangleD
Get
public RectangleD HeaderBounds { get; }
public:
property RectangleD HeaderBounds {
RectangleD get ();
}
member HeaderBounds : RectangleD
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.