ant-design-blazor/components/menu/AntMenuMode.cs
James Yeung 9351a35072 docs: refactor the layout closer to the official document (#100)
* docs: add cli for building demo structured file

* docs: cli improvement

* docs: generate demo page

* fix: style of components page

* docs: add prism to mack source code highlight

* feat: add menu2json command for cli

* fix: markdown highlight

* feat: fetch menu data from cli output files

* fix: cli

* docs: add avatar demo

* docs: add button demos

* docs: add component-scope style

* docs: fix style

* docs: add badge demos

* fix: rebase conflict

* docs: refactor layout

* docs: fix navigation

* docs: fix rebase conflict

* docs: add AntAffix for sider menu

* docs: fix affix error

* docs: fix rebase confilct
2020-05-10 15:42:02 +08:00

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)
{
}
}
}