public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) { return(VirtualKeyCodes.GetKeyCode(value as string)); }
public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { return(VirtualKeyCodes.GetKeyName((uint)value)); }