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

Root Item

The Root Item represents the menu item displayed at the top level.

ASPxMenu-VisualElements-RootItem

The table below lists the main members that affect the element’s appearance and functionality.

Characteristics Members
Style ASPxMenuBase.ItemStyle, ASPxMenuBase.LinkStyle
Paddings ASPxMenuBase.Paddings
Spacings ASPxMenuBase.ItemSpacing
Image ASPxMenuBase.ItemImage
Settings ASPxMenu.ItemAutoWidth, ASPxMenuBase.RootItem, MenuItemStyleBase.Width
Template ASPxMenuBase.RootItemTemplate, ASPxMenuBase.RootItemTextTemplate
Selection ASPxMenuBase.SelectParentItem
Gutter[1] ASPxMenuBase.GutterCssClass, ASPxMenuBase.GutterBackgroundImage, ASPxMenuBase.GutterWidth
Footnotes
  1. The root menu gutter is displayed if the menu is vertically oriented (the ASPxMenu.Orientation property is set to Vertical).