Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Binding support for Diagram Nodes (Read 1889 times)
rajesh_patil74
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 220
Joined: Sep 3rd, 2009
Binding support for Diagram Nodes
Jan 5th, 2010 at 9:58am
Print Post  
Hi Stoyo

In one of my application, I am displaying the diagram control in one panel and in another panel
I am displaying properties of selected shape like text, color etc.

Now the exepected behavior is whenever i change in second panel, it should be updated directly in the diagram and for the same I want to implement it with Binding (MVVM).

Is it possible to bind shapes and links collection to diagram control and achive the same. If not when you are plaaning to provide support for binding in diagram lite control
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Binding support for Diagram Nodes
Reply #1 - Jan 5th, 2010 at 12:53pm
Print Post  
Hi,

Most of the node properties are dependency properties now, so binding should work as provided by the Silverlight runtime. Try handling the SelectionChanged event and setting the active node as DataContext of the properties panel.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint