Xamarin.CommunityToolkit by Microsoft

<PackageReference Include="Xamarin.CommunityToolkit" Version="2.0.6" />

.NET API 366,512 bytes

 EnumToIntConverter

Converts an Enum to its underlying Int32 value.

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