mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-05 21:47:38 +08:00
16 lines
525 B
C#
16 lines
525 B
C#
|
using Ardalis.SmartEnum;
|
|||
|
|
|||
|
namespace AntBlazor
|
|||
|
{
|
|||
|
public sealed class AntMenuMode : SmartEnum<AntMenuMode>
|
|||
|
{
|
|||
|
public static readonly AntMenuMode Vertical = new AntMenuMode(nameof(Vertical).ToLower(), 1);
|
|||
|
public static readonly AntMenuMode Horizontal = new AntMenuMode(nameof(Horizontal).ToLower(), 2);
|
|||
|
public static readonly AntMenuMode Inline = new AntMenuMode(nameof(Inline).ToLower(), 3);
|
|||
|
|
|||
|
private AntMenuMode(string name, int value) : base(name, value)
|
|||
|
{
|
|||
|
}
|
|||
|
}
|
|||
|
}
|