public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) { if (MultiValueConverter == null) { throw _multiValueConverterUnsetException; } var tailConverted = GroupConvertBack(value, Converters.ToArray().Reverse()); return(MultiValueConverter.ConvertBack(tailConverted, targetTypes, parameter, culture)); }
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) { if (MultiValueConverter == null) { throw new InvalidOperationException("To use the converter as a MultiValueConverter the MultiValueConverter property needs to be set."); } var tailConverted = GroupConvertBack(value, Converters.ToArray().Reverse(), parameter, culture); return(MultiValueConverter.ConvertBack(tailConverted, targetTypes, parameter, culture)); }
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture) { value = PostProcessing.ConvertBack(value, null, null, culture); var values = MultiValueConverter.ConvertBack(value, null, parameter, culture); for (int i = 0; i < values.Length; i++) { values[i] = PreProcessing.ConvertBack(values[i], null, null, culture); } return(values); }