ant-design-blazor/components/menu/MenuMode.cs
2020-05-29 00:33:49 +08:00

16 lines
498 B
C#

using Ardalis.SmartEnum;
namespace AntDesign
{
public sealed class MenuMode : SmartEnum<MenuMode>
{
public static readonly MenuMode Vertical = new MenuMode(nameof(Vertical).ToLower(), 1);
public static readonly MenuMode Horizontal = new MenuMode(nameof(Horizontal).ToLower(), 2);
public static readonly MenuMode Inline = new MenuMode(nameof(Inline).ToLower(), 3);
private MenuMode(string name, int value) : base(name, value)
{
}
}
}