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

Trying to bind to MVVM XML Property

Thread ID:

Created:

Updated:

Platform:

Replies:

106748 Jan 23,2013 11:33 PM UTC Jan 28,2013 11:10 AM UTC WinRT 3
loading
Tags: SfDiagram
Scott Farriss
Asked On January 23, 2013 11:33 PM UTC

I've tried several different approaches, but I can't get anything to work.  How to I bind an XDocument or XmlDocument to the ItemsSource property on the DiagramModel.

Ramya Thirugnanam [Syncfusion]
Replied On January 24, 2013 12:00 PM UTC

Hi Scott,

Regarding to bind an XDocument or XmlDocument to the ItemsSource property on the DiagramModel, we have created a simple sample to satisfy your requirement by using the Converter for populating the ItemSource from the XDocument. Please refer to the sample from the attachment.

Sample Details:

In this sample, we have used the XML data with a hierarchical-tree layout. The ItemTemplate property can be used to gain access to an XML data source by using the ItemSource property to generate a tree view of the XML data.

Please let us know if you have any concerns,
Regards,
Ramya



107648 XDocument_74cfd201.zip

Scott Farriss
Replied On January 25, 2013 03:37 AM UTC

Thanks for the quick response, and the simple example.

Ramya Thirugnanam [Syncfusion]
Replied On January 28, 2013 11:10 AM UTC

Hi Scott,

Thank you for your update.

 

Please let us know if you have any concerns,

Regards,

Ramya


CONFIRMATION

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.

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

;