次の方法で共有


NodeShape.AbsoluteBounds プロパティ

図の左上を基準として測定される、図形の外接する四角形のサイズと位置を取得または設定するドメイン プロパティ。

名前空間:  Microsoft.VisualStudio.Modeling.Diagrams
アセンブリ:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 内)

構文

'宣言
<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")> _
<BrowsableAttribute(False)> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DomainObjectIdAttribute("7d8fa935-dc8e-43b6-a72d-be8f5bc5c17b")> _
Public Property AbsoluteBounds As RectangleD
[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")]
[BrowsableAttribute(false)]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DomainObjectIdAttribute("7d8fa935-dc8e-43b6-a72d-be8f5bc5c17b")]
public RectangleD AbsoluteBounds { get; set; }

プロパティ値

型 : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

解説

境界を ParentShapeに関連する測定して取得または設定するには、使用 Bounds

特定のクラスの図形のサイズまたは位置の変更に応答するに OnAbsoluteBoundsChanged を無視できます。 また、AbsoluteBoundsChangedのイベントのリスナーを追加すると、特定の図形の変更をリッスンできます。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

NodeShape クラス

Microsoft.VisualStudio.Modeling.Diagrams 名前空間

OnAbsoluteBoundsChanged

ParentShape