# Orientation and Alignment

## Content



In the Menu control, the direction of rendering the menu is set to vertical, by default. However, you can change the rendering direction to horizontal by using [Orientation](/componentone/api/winui/online-winui/dotnet-api/C1.WinUI.Menu/C1.WinUI.Menu.C1MenuList.Orientation.html) property of the [C1MenuList](/componentone/api/winui/online-winui/dotnet-api/C1.WinUI.Menu/C1.WinUI.Menu.C1MenuList.html) class. Along with the orientation, you also need to set the alignment of the menu based on the orientation you choose. For example, if you set the orientation of the Menu control to horizontal then setting the vertical alignment of the control to top creates a traditional looking menu, similar to the one showcased in the following image.

![Menu Orientation](https://cdn.mescius.io/document-site-files/images/2d49eac2-0942-4770-99ef-52b14e6815bd/images/menu-horizontal.png)

The following code demonstrates how to set the orientation and alignment of the menu using the **Orientation** and **VerticalAlignment** properties:

```xml
<c1:C1Menu x:Name="WordMenu" Orientation="Horizontal" VerticalAlignment="Top"></c1:C1Menu>
```