Example #1
0
 public SelectorModel(SelectorWindow window)
 {
     Highlight   = true;
     Directories = new ExtendedObservableCollection <treeelement>();
     this.window = window;
     Directories.ItemPropertyChanged += (sender, e) =>
     {
         NotifyPropertyChanged("json");
     };
 }
Example #2
0
 public SelectorModel(SelectorWindow window)
 {
     Highlight   = true;
     Directories = new SelectorObservableCollection <treeelement>();
     this.window = window;
     //Directories.ItemPropertyChanged += (sender, e) =>
     //{
     //    _json = Selector.ToString();
     //    NotifyPropertyChanged("json");
     //};
 }
Example #3
0
 public SelectorModel(SelectorWindow window, Selector Selector, Selector Anchor = null)
 {
     Highlight     = true;
     this.Anchor   = Anchor;
     this.Selector = Selector;
     Directories   = new ExtendedObservableCollection <treeelement>();
     this.window   = window;
     Directories.ItemPropertyChanged += (sender, e) =>
     {
         _json = Selector.ToString();
         NotifyPropertyChanged("json");
     };
 }