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. Image for the cookie policy date

WPF Diagram - customize type of connectors used when using databinding

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).

1 Reply

PA Parthiban A Syncfusion Team 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.

Live Chat Icon For mobile
Up arrow icon