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

build diagram from xaml

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? 


1 Reply

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



Live Chat Icon For mobile
Up arrow icon