Example #1
0
 public FormViewModel(Form model)
 {
     Model = model;
     Name  = Model.Name;
     Title = Model.Title;
     EventListeners.AddRange(Model.EventListeners);
     RootElement = FormElementViewModelFactory.CreateComposite(Model.RootElement);
     EventListeners.CollectionChanged += EventListenersOnCollectionChanged;
 }