コード例 #1
0
 public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
 {
     try
     {
         return(StringConvert.ToByte(value.ToString()));
     }
     catch (Exception)
     {
         return(DependencyProperty.UnsetValue);
         //throw;
     }
 }