Sdílet prostřednictvím


NodeShape.AbsoluteBounds – vlastnost

Vlastnost domain, který získá nebo nastaví velikost a umístění ohraničovacího rámečku obrazce, měřeno vzhledem k levé horní části diagramu.

Obor názvů:  Microsoft.VisualStudio.Modeling.Diagrams
Sestavení:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (v Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntaxe

'Deklarace
<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; }

Hodnota vlastnosti

Typ: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

Poznámky

Chcete-li získat nebo nastavit rozsah měřených vzhledem k ParentShape, použít Bounds.

Můžete přepsat OnAbsoluteBoundsChanged reagovat na změny ve velikosti nebo umístění tvarů určité třídy.Alternativně můžete poslouchat změny v určitý obrazec tak, že přidáte posluchač události pro AbsoluteBoundsChanged.

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

NodeShape Třída

Microsoft.VisualStudio.Modeling.Diagrams – obor názvů

OnAbsoluteBoundsChanged

ParentShape