ComponentOne Menu for ASP.NET AJAX: Menu Appearance > Menu Layout

Menu Layout

The C1Menu control can be rendered horizontally or vertically by setting its Orientation property. The layout for the Submenu items can also be controlled using the NestedGroupOrientation property. For more information on setting menu layout see, Changing Menu and Sub-menu Orientation.

Horizontal Menu Layout

In the following menu, the Orientation property is set to "Horizontal".

 

Vertical Menu Layout

In the following menu, the Orientation property is set to "Vertical".

 

Horizontal Menu and Horizontal Submenu Layout

In the following menu, the Orientation property is set to "Horizontal" and the NestedGroupOrientation property is set to "Horizontal".

 

Horizontal Menu and Vertical Submenu Layout

In the following menu, the Orientation property is set to "Horizontal" and the NestedGroupOrientation property is set to "Vertical".

 

Vertical Menu and Vertical Submenu Layout

In the following menu, the Orientation property is set to "Vertical" and the NestedGroupOrientation property is set to "Vertical".

 

Vertical Menu and Horizontal Submenu Layout

In the following menu, the Orientation property is set to "Vertical" and the NestedGroupOrientation property is set to "Horizontal".

 


Send comments about this topic to ComponentOne.
Copyright 1987-2010 ComponentOne LLC. All rights reserved.