Skip to main content

ASPxClientMenu.SetOrientation(orientation) Method

Sets the menu orientation.

Declaration

SetOrientation(
    orientation: string
): void

Parameters

Name Type Description
orientation string

Vertical‘ to orient the menu vertically; ‘Horizontal‘ to orient the menu horizontally.

Remarks

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

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

See Also