@Enum.GetName(typeof(ColorScheme), context)

public enum ColorScheme
{
///

Pastel color scheme.
Pastel,
/// Palette color scheme.
Palette,
/// Divergent color scheme.
Divergent,
/// Monochrome color scheme
Monochrome,
}

How to change the language

<RadzenDropDown Data="@colorSchemes" @bind-Value="@colorScheme" Name="ColorScheme">

@Enum.GetName(typeof(ColorScheme), context)

IEnumerable<ColorScheme> colorSchemes = Enum.GetValues(typeof(ColorScheme)).Cast<ColorScheme>();

Not sure I understand what you are asking. Check our forum FAQ on how to improve your question.

image
Change this to another language

You can use Display attribute Description:

1 Like