public class MyValueConverter : IMultiValueConverter, IValueConverter
{
#region IValueConverter Member
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
return this.Convert(new object[] { value }, targetType, parameter, culture);
}
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
return this.ConvertBack(value, new Type[] { targetType }, parameter, culture)[0];
}
#endregion
#region IMultiValueConverter Member
public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
throw new NotImplementedException();//Konverter hier einbauen
}
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, System.Globalization.CultureInfo culture)
{
throw new NotImplementedException();//Zurück-Konverter hier einbauen
}
#endregion
}