Gets or sets the edge points for the link shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.Description", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<BrowsableAttribute(False)> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.DisplayName", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("af57aca2-7d29-49ce-9aab-942c8036afcc")> _
Public Property EdgePoints As EdgePointCollection
'使用
Dim instance As LinkShape
Dim value As EdgePointCollection
value = instance.EdgePoints
instance.EdgePoints = value
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.Description",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.DisplayName",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("af57aca2-7d29-49ce-9aab-942c8036afcc")]
public EdgePointCollection EdgePoints { get; set; }
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.Description",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[DomainPropertyAttribute(Kind = DomainPropertyKind::CustomStorage)]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.LinkShape/EdgePoints.DisplayName",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"af57aca2-7d29-49ce-9aab-942c8036afcc")]
public:
property EdgePointCollection^ EdgePoints {
EdgePointCollection^ get ();
void set (EdgePointCollection^ value);
}
public function get EdgePoints () : EdgePointCollection
public function set EdgePoints (value : EdgePointCollection)
Property Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.EdgePointCollection
The edge points for the link shape.
Remarks
An edge point is available for each line segment in the link shape. Edge points appear at the start and end of a line segment. If the link is drawn left and then up, an edge point appears in the link where the direction changes.
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.