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).
Close Icon
Unfortunately, activation email could not send to your email. Please try again.
Close Icon
close icon
Vote for your favorite ebook
Succinctly Readers Awards 2020
Syncfusion Feedback

build diagram from xaml

Thread ID:





116448 May 26,2014 12:02 PM UTC May 29,2014 01:19 PM UTC WPF 1
Tags: Diagram
Asked On May 26, 2014 12:02 PM UTC

Hi syncfusion, 

It is possible to set the data source and build the diagram from xaml and not from code behind as the tutorial from you guys? 


Parthiban A [Syncfusion]
Replied On May 29, 2014 01:19 PM UTC

Hi Lucian

Diagram control can support binding, you can bind business object to DiagramModel.ItemSource property. Node will be created and added to the diagram control for each business objects. you don't need to use code behind, everything will be done in xaml.

For more information kindly refer our dash board sample,

Run Dashboard à WPF à Diagram àData Binding à Business Object Data binding sample.




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