4 using System.Globalization;
6 namespace SiliconStudio.Presentation.ValueConverters
15 public override object Convert(
object value, Type targetType,
object parameter, CultureInfo culture)
17 var unicodeValue = System.Convert.ToInt32(value);
22 public override object ConvertBack(
object value, Type targetType,
object parameter, CultureInfo culture)
26 var charValue = System.Convert.ToChar(System.Convert.ToInt32(value));
override object Convert(object value, Type targetType, object parameter, CultureInfo culture)
This converter will convert a char value to the integer representation of its unicode value...
override object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)