Gets or sets the absolute bounds for the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
<DomainObjectIdAttribute("7d8fa935-dc8e-43b6-a72d-be8f5bc5c17b")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<BrowsableAttribute(False)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.NodeShape/AbsoluteBounds.DisplayName", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.NodeShape/AbsoluteBounds.Description", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
Public Property AbsoluteBounds As RectangleD
'使用
Dim instance As NodeShape
Dim value As RectangleD
value = instance.AbsoluteBounds
instance.AbsoluteBounds = value
[DomainObjectIdAttribute("7d8fa935-dc8e-43b6-a72d-be8f5bc5c17b")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[BrowsableAttribute(false)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.NodeShape/AbsoluteBounds.DisplayName",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.NodeShape/AbsoluteBounds.Description",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
public RectangleD AbsoluteBounds { get; set; }
[DomainObjectIdAttribute(L"7d8fa935-dc8e-43b6-a72d-be8f5bc5c17b")]
[DomainPropertyAttribute(Kind = DomainPropertyKind::CustomStorage)]
[BrowsableAttribute(false)]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.NodeShape/AbsoluteBounds.DisplayName",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.NodeShape/AbsoluteBounds.Description",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
public:
property RectangleD AbsoluteBounds {
RectangleD get ();
void set (RectangleD value);
}
public function get AbsoluteBounds () : RectangleD
public function set AbsoluteBounds (value : RectangleD)
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The absolute bounds for the shape.
Remarks
The absolute bounds define a bounding box for the shape.
Permissions
- 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.