public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            if (value == null)
            {
                return(null);
            }

            return(Extentions.GetEnumByIndex <PriorityOption>((int)value));
        }