TwoParConverter.cs 754 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows.Data;
  7. namespace PLCTool.Controls.Convert
  8. {
  9. class TwoParConverter : IMultiValueConverter
  10. {
  11. #region IMultiValueConverter Members
  12. public static object ConverterObject;
  13. public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture)
  14. {
  15. return values.ToArray();
  16. }
  17. public object[] ConvertBack(object value, Type[] targetTypes,
  18. object parameter, System.Globalization.CultureInfo culture)
  19. {
  20. throw new NotImplementedException();
  21. }
  22. #endregion
  23. }
  24. }