示例#1
0
        public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
        {
            Type t = parameter.GetType();

            return(EnumHelper.DescriptionToValue(t, value.ToString()));
        }