ASPxMenu.FirstSubMenuDirection Property
Gets or sets the direction in which the first sub-menu appears.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(FirstSubMenuDirection.Auto)]
public FirstSubMenuDirection FirstSubMenuDirection { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
First |
Auto | One of the First |
Available values:
Name | Description |
---|---|
Auto | The first sub-menu direction is determined automatically. |
Right |
The first sub-menu is displayed to the right of the menu for a vertically oriented menu, and below the menu for a horizontally oriented menu. |
Left |
The first sub-menu is displayed to the left of the menu for a vertically oriented menu, and above the menu for a horizontally oriented menu. |
#Remarks
You can specify the menu orientation (horizontal or vertical) via the ASPxMenu.Orientation property. Use the FirstSubMenuDirection property to specify the first sub-menu direction relative to the menu.