Files
BeWoPlaner/BeWo/Converter/OneWayToSourceSwitch.cs

20 lines
575 B
C#
Raw Permalink Normal View History

2016-06-27 01:45:38 +02:00
using System;
using System.Globalization;
using System.Linq;
using System.Windows.Data;
namespace BeWo.Converter
{
public class OneWayToSourceSwitch : IMultiValueConverter
{
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
{
return targetTypes.Select(t => value).ToArray();
}
}
}