Files
BeWoPlaner/BeWo/Converter/Object2ToStringConverter.cs

22 lines
567 B
C#
Raw Permalink Normal View History

using System;
using System.Globalization;
using System.Windows.Data;
namespace BeWo.Converter
{
public class Object2ToStringConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (value is object)
return value.ToString();
return null;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
}