Edit this page

Menu Orientation

The Orientation property of the RadMenu control and the TextOrientation and FlipText properties of the individual RadMenuItems interact to determine the overall layout of the RadMenu.

Default Menu

The RadMenu default settings are: Orientation = Horizontal, TextOrientation = Horizontal, FlipText = false. The resulting menu is arranged as shown in the figure below:

menus-menu-styling-and-appearance-menu-orientation 001

Default orientation

radMenu1.Orientation = System.Windows.Forms.Orientation.Horizontal;
radMenuItemFile.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
radMenuItemFile.FlipText = false;
radMenuItemEdit.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
radMenuItemEdit.FlipText = false;
radMenuItemView.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
radMenuItemView.FlipText = false;
radMenuItemHelp.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
radMenuItemHelp.FlipText = false;

radMenu1.Orientation = System.Windows.Forms.Orientation.Horizontal
radMenuItemFile.TextOrientation = System.Windows.Forms.Orientation.Horizontal
radMenuItemFile.FlipText = False
radMenuItemEdit.TextOrientation = System.Windows.Forms.Orientation.Horizontal
radMenuItemEdit.FlipText = False
radMenuItemView.TextOrientation = System.Windows.Forms.Orientation.Horizontal
radMenuItemView.FlipText = False
radMenuItemHelp.TextOrientation = System.Windows.Forms.Orientation.Horizontal
radMenuItemHelp.FlipText = False

Horizontal Menu with Vertical Items

The menu can be oriented horizontally with menu items arranged vertically:

menus-menu-styling-and-appearance-menu-orientation 002

Vertical text orientation

radMenu1.Orientation = System.Windows.Forms.Orientation.Horizontal;
radMenuItemFile.TextOrientation = System.Windows.Forms.Orientation.Vertical;
radMenuItemFile.FlipText = false;
radMenuItemEdit.TextOrientation = System.Windows.Forms.Orientation.Vertical;
radMenuItemEdit.FlipText = false;
radMenuItemView.TextOrientation = System.Windows.Forms.Orientation.Vertical;
radMenuItemView.FlipText = false;
radMenuItemHelp.TextOrientation = System.Windows.Forms.Orientation.Vertical;
radMenuItemHelp.FlipText = false;

radMenu1.Orientation = System.Windows.Forms.Orientation.Horizontal
radMenuItemFile.TextOrientation = System.Windows.Forms.Orientation.Vertical
radMenuItemFile.FlipText = False
radMenuItemEdit.TextOrientation = System.Windows.Forms.Orientation.Vertical
radMenuItemEdit.FlipText = False
radMenuItemView.TextOrientation = System.Windows.Forms.Orientation.Vertical
radMenuItemView.FlipText = False
radMenuItemHelp.TextOrientation = System.Windows.Forms.Orientation.Vertical
radMenuItemHelp.FlipText = False

Sideways Menu

The menu can be oriented vertically with menu items arranged horizontally to create a "sideways" menu:

menus-menu-styling-and-appearance-menu-orientation 003

Vertical menu with horizontal text

radMenu1.Orientation = System.Windows.Forms.Orientation.Vertical;
radMenuItemFile.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
radMenuItemFile.FlipText = false;
radMenuItemEdit.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
radMenuItemEdit.FlipText = false;
radMenuItemView.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
radMenuItemView.FlipText = false;
radMenuItemHelp.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
radMenuItemHelp.FlipText = false;

radMenu1.Orientation = System.Windows.Forms.Orientation.Vertical
radMenuItemFile.TextOrientation = System.Windows.Forms.Orientation.Horizontal
radMenuItemFile.FlipText = False
radMenuItemEdit.TextOrientation = System.Windows.Forms.Orientation.Horizontal
radMenuItemEdit.FlipText = False
radMenuItemView.TextOrientation = System.Windows.Forms.Orientation.Horizontal
radMenuItemView.FlipText = False
radMenuItemHelp.TextOrientation = System.Windows.Forms.Orientation.Horizontal
radMenuItemHelp.FlipText = False

Stacked Vertical Menu

menus-menu-styling-and-appearance-menu-orientation 004

Vertical menu with vertical text

radMenu1.Orientation = System.Windows.Forms.Orientation.Vertical;
radMenuItemFile.TextOrientation = System.Windows.Forms.Orientation.Vertical;
radMenuItemFile.FlipText = true;
radMenuItemEdit.TextOrientation = System.Windows.Forms.Orientation.Vertical;
radMenuItemEdit.FlipText = true;
radMenuItemView.TextOrientation = System.Windows.Forms.Orientation.Vertical;
radMenuItemView.FlipText = true;
radMenuItemHelp.TextOrientation = System.Windows.Forms.Orientation.Vertical;
radMenuItemHelp.FlipText = true;

radMenu1.Orientation = System.Windows.Forms.Orientation.Vertical
radMenuItemFile.TextOrientation = System.Windows.Forms.Orientation.Vertical
radMenuItemFile.FlipText = True
radMenuItemEdit.TextOrientation = System.Windows.Forms.Orientation.Vertical
radMenuItemEdit.FlipText = True
radMenuItemView.TextOrientation = System.Windows.Forms.Orientation.Vertical
radMenuItemView.FlipText = True
radMenuItemHelp.TextOrientation = System.Windows.Forms.Orientation.Vertical
radMenuItemHelp.FlipText = True

See Also