This is a migrated thread and some comments may be shown as answers.

RadDiagramConnector

2 Answers 72 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Amiel
Top achievements
Rank 1
Amiel asked on 26 Sep 2017, 07:28 PM

Hello,

Is there a way to customize the shape of each connector?  For example the rectangle has four outer connectors, can I make one an arrow point up and another connector for that same shape a connector with an arrow pointing down.  I have seen this thread http://www.telerik.com/forums/custom-connector-shape?actionMode=replyThread but that changes all the connectors.  I want to change each connector with a unique image.

Your help is appreciated.

Thanks,

Amiel

2 Answers, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 29 Sep 2017, 10:41 AM
Amiel,

Thank you for contacting for your interest in RadDiagram control.

To apply a different template for the connectors you can disable the default ones and create custom ones in the same position. Then you can set on each on them custom style targeting RadDiagramConnector

Attached to this reply you can find a project which demonstrates this approach. Give it a try and let me know if it works for you.

Regards,
Dinko
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
0
Amiel
Top achievements
Rank 1
answered on 29 Sep 2017, 06:03 PM

Hello Dinko,

This is exactly what I was looking for thanks!

Amiel

Tags
Diagram
Asked by
Amiel
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Amiel
Top achievements
Rank 1
Share this question
or