We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

WPF Diagram - customize type of connectors used when using databinding

Thread ID:





114192 Nov 4,2013 09:44 PM UTC Nov 8,2013 10:33 AM UTC WPF 1
Tags: Diagram
Elizabeth Rudkin
Asked On November 4, 2013 09:44 PM UTC

I am using a straightforward DiagramModel which binds to a hierarchy of objects.  it looks fine, except that I would like to customize the look of the connectors.  By default the diagram uses Orthogonal connectors.  But what if I would like to use Straight or arc connectors, or I wish to change the DecoratorShape at either end?

I have looked through the documentation and I don't see a way to alter the default connectors in any way (except the line path style).

Parthiban A [Syncfusion]
Replied On November 8, 2013 10:33 AM UTC

Hi Elizebath,


We have analysed your query regarding customize type of connector while databinding. We can change the connector type by using property named ConnectorType under diagram page, which in turn found under diagram view. This will set the default connector type for diagram control.


Code Snippet:


DiagramView diagramview=new DiagramView();

(diagramview.Page as DiagramPage).ConnectorType = ConnectorType.Straight;


Please let us know if you require further assist on this.



Parthiban A.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon