ant-design-blazor/components/menu/MenuMode.cs
2020-07-03 13:37:40 +08:00

14 lines
499 B
C#

namespace AntDesign
{
public sealed class MenuMode : EnumValue<MenuMode>
{
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)
{
}
}
}