public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { try { return(StringConvert.ToUInt16(value.ToString())); } catch (Exception) { return(DependencyProperty.UnsetValue); } }