Sunchronizing view model and view
问题 I have a view model that consist of some nodes and some connectors: public class ViewModel { public List<Node> Nodes{get;set;} public List<Connector> Connectors{get;set;} } public Class Node { public Point Position{get;set;} } public class Connector { public Node StartNode{get;set;} public Node EndNode{get;set;} } Now I display nodes in page by an items control: <UserControl.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="Styles.xaml"><