Tab

MenuItem.Parent Property

Gets the immediate parent menu item to which the current menu item belongs.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public MenuItem Parent { get; }
Public ReadOnly Property Parent As MenuItem

Property Value

Type Description
MenuItem

A MenuItem object representing the menu item's immediate parent.

Available values:

Show 50 items
Name Description
TextTemplate

Gets or sets a template used for displaying the text content of the current menu item.

Template

Gets or sets a template used to display the content of the current menu item.

SubMenuStyle

Gets the style settings for the client regions of all submenus of the current menu item.

SubMenuItemStyle

Gets the style settings for all submenu items of the current menu item.

ScrollButtonStyle

Gets the style settings that define the appearance of scroll buttons for a particular item.

ItemStyle

Gets the style settings for the current menu's item.

SubMenuPopOutImage

Gets the settings of an image displayed by all pop-out images of the current submenu items.

ScrollDownButtonImage

Gets the settings which define an image, displayed within a particular item's scroll down button .

ScrollUpButtonImage

Gets the settings which define an image, displayed within a particular item's scroll up button .

PopOutImage

Gets the settings of an image, which represents an item's pop-out image.

SubMenuItemImage

Gets the settings of an image displayed by all the submenu items of the current menu item.

Image

Gets the settings of an image displayed within the menu item.

Items

Gets a collection that contains the submenu items of the current menu item.

VisibleIndex

Gets or sets a value specifying the position of the current menu item amongst the visible items in a submenu (or at a menu's root level).

Visible

Gets or sets a value specifying the visibility of the current menu item.

ToolTip

Gets or sets the current menu item's tooltip text.

Parent

Gets the immediate parent menu item to which the current menu item belongs.