Back to Devexpress

DiagramConnector.Points Property

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramconnector-cd273913.md

latest3.6 KB
Original Source

DiagramConnector.Points Property

Gets or sets a collection of turn points for the connector. This is a dependency property.

Namespace : DevExpress.Xpf.Diagram

Assembly : DevExpress.Xpf.Diagram.v25.2.dll

NuGet Package : DevExpress.Wpf.Diagram

Declaration

csharp
[Browsable(false)]
public DiagramPointCollection Points { get; set; }
vb
<Browsable(False)>
Public Property Points As DiagramPointCollection

Property Value

TypeDescription
DevExpress.Diagram.Core.DiagramPointCollection

A collection of turn points.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the Points property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-diagram-use-diagramdatabindingbehavior-to-generate-diagram-from-collection/CS/DiagramDataBindingBehavior/MainWindow.xaml#L28

xml
</dxdiag:DiagramContainer>
<dxdiag:DiagramConnector BeginPoint="300,164" CanDragBeginPoint="False" CanChangeRoute="False" CanDragEndPoint="False" EndArrow="ClosedASMEArrow" EndArrowSize="10,10" EndPoint="390,254" Points="(Empty)" StrokeId="Black" TemplateName="ClassConnector" Type="Straight"/>
<dxdiag:DiagramContainer Anchors="Left, Top" BackgroundId="Dark_2" CanCopyWithoutParent="True" ConnectionPoints="0.5,0 1,0.5 0.5,1 0,0.5" CanAddItems="False" DragMode="ByAnyPoint" Height="78" ItemsCanChangeParent="False" ItemsCanAttachConnectorEndPoint="False" ItemsCanAttachConnectorBeginPoint="False" ItemsCanSelect="False" ItemsCanEdit="False" ItemsCanCopyWithoutParent="False" ItemsCanMove="False" ItemsCanRotate="False" ItemsCanSnapToOtherItems="False" ItemsCanDeleteWithoutParent="False" ItemsCanSnapToThisItem="False" ItemsCanResize="False" Position="428,369" StrokeId="Black" Shape="StandardContainers.Alternating" ShowHeader="False" StrokeDashArray="5 3" ThemeStyleId="ShapeId.Focused1" TemplateName="InterfaceShape" Width="200">

wpf-diagram-use-diagramorgchartbehavior-to-generate-diagram-from-collection/CS/OrgChartBindingExample/MainWindow.xaml#L39

xml
</dxdiag:DiagramContainer>
    <dxdiag:DiagramConnector BeginPoint="430,190" CanDragBeginPoint="False" CanChangeRoute="False" CanDragEndPoint="False" EndArrow="IndentedFilledArrow" EndArrowSize="12,7" EndPoint="520,280" Points="(Empty)" StrokeThickness="2" ThemeStyleId="ShapeId.Balanced5" Type="Straight"/>
</dxdiag:DiagramControl>

See Also

DiagramConnector Class

DiagramConnector Members

DevExpress.Xpf.Diagram Namespace