Beispiel #1
0
 /// <summary>
 /// TODO RR: Insert and remove at clicked index...
 /// </summary>
 private void OnRemoveFilterCommand(FilterControlViewModel filterControlViewModel)
 {
     EnabledFilters.Remove(filterControlViewModel);
     if (EnabledFilters.Count <= 0)
     {
         EnabledFilters.Add(new FilterControlViewModel());
     }
 }
Beispiel #2
0
 private void OnAddFilterCommand(FilterControlViewModel filterControlViewModel)
 {
     EnabledFilters.Insert(EnabledFilters.IndexOf(filterControlViewModel) + 1, new FilterControlViewModel());
 }