EnumToIntConverter public class EnumToIntConverter : ValueConverterExtension, IValueConverter Converts an Enum to its underlying Int32 value. Documentation Code public EnumToIntConverter() public object Convert(object value, Type targetType, object parameter, CultureInfo culture) Convert a default Enum (i.e., extending Int32) to corresponding underlying Int32 public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) Returns the Enum associated with the specified Int32 value defined in the targetType