public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (value is ObservableDictionary <EnumChartConfiguration, object> dictionary) { EnumChartConfiguration param = (EnumChartConfiguration)int.Parse((string)parameter); return(dictionary.ContainsKey(param) && dictionary[param] != null ? Visibility.Visible : Visibility.Collapsed); } return(Visibility.Visible); }
public virtual void OnConfigurationOptionChanged(EnumChartConfiguration key, object value) { }