Skip to main content
Tab

ASPxMenu.FirstSubMenuDirection Property

Gets or sets the direction in which the first sub-menu appears.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(FirstSubMenuDirection.Auto)]
public FirstSubMenuDirection FirstSubMenuDirection { get; set; }

Property Value

Type Default Description
FirstSubMenuDirection Auto

One of the FirstSubMenuDirection enumeration values.

Available values:

Name Description
Auto

The first sub-menu direction is determined automatically.

RightOrBottom

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.

LeftOrTop

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.

See Also