mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-04 21:17:36 +08:00
16 lines
498 B
C#
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)
|
|
{
|
|
}
|
|
}
|
|
}
|