public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (InnerConverter != null) { value = InnerConverter.Convert(value, typeof(object), InnerConverterParameter, culture); } return(value == null ? string.Empty : string.Format((string)parameter, value)); }
/// <see cref="IValueConverter.ConvertBack"/> public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) { return(InnerConverter.Convert(value, targetType, parameter, culture)); }