示例#1
0
 private void OnSaveGroup()
 {
     FiltersViewModels.Add(new FiltersViewModel()
     {
         GroupName = GroupName
     });
     GroupName = "";
     AddGroupTileVisibility = Visibility.Collapsed;
 }
示例#2
0
 public void PopulateFilterGroups()
 {
     //    var localGroups = await DatabaseHandler.Instance.GetFilterGroups();
     foreach (var localFilterGroup in LocalCache.Instance.LocalfilterGroups)
     {
         var newFilterVIewModel = new FiltersViewModel();
         newFilterVIewModel.SetFilterGroup(localFilterGroup);
         FiltersViewModels.Add(newFilterVIewModel);
     }
 }