Exemple #1
0
 public void UpdateUI(IFilter filter = null)
 {
     if (!IsRefreshingUi)
     {
         IsRefreshingUi = true;
         SetItems();
         this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(Items)));
         foreach (var item in StandardFilters.Values.Except(new[] { filter }))
         {
             item.UpdateUI();
         }
         OrderFilter.UpdateUI();
         IsRefreshingUi = false;
     }
 }