public SearchResultsView(SearchResultsViewModel model)
 {
     this.results = model;
     this.InitializeComponent();
     this.DataContext = this.results;
     this.results.Results.CollectionChanged += SearchResultsChanged;
     this.InitCollection();
 }
Exemplo n.º 2
0
 public SearchBarViewModel(SearchResultsViewModel results)
 {
     this.results     = results;
     this.searchTerms = string.Empty;
     this.Search      = new RelayCommand(this.SearchArchive);
 }