Enum MenuDirection
Controls the axis along which a menu lays out its options.
Namespace: Serenity.Menu.Domain.Enums
Assembly: Serenity.Menu.Domain.dll
Syntax
public enum MenuDirection
Remarks
VERTICAL is value 0 so that existing serialized assets (which have no stored value for this field) deserialize to it, preserving the historical top-to-bottom layout. The horizontal path is added as a branch alongside the unchanged vertical path throughout the build pipeline.
Fields
| Name | Description |
|---|---|
| HORIZONTAL | Options are placed side by side (left to right); left/right navigates options and up/down edits the selected option's value. |
| VERTICAL | Options are stacked top-to-bottom; up/down navigates options and left/right edits the selected option's value. This is the default and matches the historical behavior. |