Skip to main content
A newer version of this page is available. .

ASPxClientMenu.GetOrientation Method

Gets a value specifying the menu orientation.

Declaration

GetOrientation(): string

Returns

Type Description
string

Vertical‘ if the menu is oriented vertically; ‘Horizontal‘ if the menu is oriented horizontally.

Remarks

Use the GetOrientation method to get the menu orientation on the client side. To set the menu orientation, use the ASPxClientMenu.SetOrientation method.

On the server side, you can control the orientation using the ASPxMenu.Orientation property.

See Also