LinkShape.EdgePoints 属性

绑定链接形状的直线部分的点的有序列表,包括在每个跳转处的两个点。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)

语法

声明
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.DisplayName",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.Description",  _
    GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<BrowsableAttribute(False)> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DomainObjectIdAttribute("af57aca2-7d29-49ce-9aab-942c8036afcc")> _
Public Property EdgePoints As EdgePointCollection
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.DisplayName", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.Description", 
    typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DomainObjectIdAttribute("af57aca2-7d29-49ce-9aab-942c8036afcc")]
public EdgePointCollection EdgePoints { get; set; }

属性值

类型:Microsoft.VisualStudio.Modeling.Diagrams.EdgePointCollection

备注

链接由一系列直线段。 中显示的链接,因为单个直线有两个边缘该行的开始和结尾,指向。 有一个顶点或角的链接将有一个附加的边缘点在起点和终点之间。

如果该链接与另一个链接,它可以显示跳转,是一个小的半圆。 边缘点的列表将包含两为该跳转的双方额外点。 如果需要获取省略跳转边缘的点的列表,使用 EdgePointsNoJumps

如果 IsRouted 为 false,无效。

.NET Framework 安全性

请参阅

参考

LinkShape 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间

EdgePointsNoJumps