/// <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()); } }
private void OnAddFilterCommand(FilterControlViewModel filterControlViewModel) { EnabledFilters.Insert(EnabledFilters.IndexOf(filterControlViewModel) + 1, new FilterControlViewModel()); }