private void FilterWrapperOnPropertyChanged(object sender, PropertyChangedEventArgs e) { if (e.PropertyName == nameof(FilterWrapper.FilterStatus)) { OnFilterStatusChanged?.Invoke(this, EventArgs.Empty); } else if (e.PropertyName == nameof(FilterWrapper.IsChecked)) { OnFilterCheckStateChanged?.Invoke(this, EventArgs.Empty); } }
public virtual void RaiseFilterStatusChange(bool isActive) { OnFilterStatusChanged?.Invoke(isActive); }