ant-design-blazor/components/menu/MenuMode.cs

14 lines
499 B
C#
Raw Normal View History

2020-07-03 13:37:40 +08:00
namespace AntDesign
{
2020-07-03 13:37:40 +08:00
public sealed class MenuMode : EnumValue<MenuMode>
{
2020-07-03 13:37:40 +08:00
public static readonly MenuMode Vertical = new MenuMode(nameof(Vertical).ToLowerInvariant(), 1);
public static readonly MenuMode Horizontal = new MenuMode(nameof(Horizontal).ToLowerInvariant(), 2);
public static readonly MenuMode Inline = new MenuMode(nameof(Inline).ToLowerInvariant(), 3);
private MenuMode(string name, int value) : base(name, value)
{
}
}
}