Skip to main content

Root Item

A Root Item is a menu item displayed at the top level.

ASPxMenu-VisualElements-RootItem

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

Characteristics

Members

Style

MenuStyles.Item (via MenuSettingsBase.Styles.Item)

Paddings

AppearanceStyle.Paddings (via MenuSettingsBase.Styles.Style.Paddings)

Spacings

MenuStyle.ItemSpacing (via MenuSettingsBase.Styles.Style.ItemSpacing)

Image

MenuImages.Item (via MenuSettingsBase.Images.Item)

Settings

MenuSettings.ItemAutoWidth,

MenuItemStyleBase.Width (via MenuSettingsBase.Styles.Item.Width)

Template

MenuSettingsBase.SetItemTemplateContent,

MenuSettingsBase.SetItemTextTemplateContent

Selection

MenuSettingsBase.SelectParentItem