Click or drag to resize
CMSMenuProcessSubItem Method
Gets a menu item and creates its subitems.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax
C#
protected void ProcessSubItem(
	MenuItem parentMenuItem,
	ISimpleDataContainer parentMenuItemDR,
	IGroupedData menuItemsDS,
	int level,
	Menu menuObject
)

Parameters

parentMenuItem
Type: MenuItem
Parent menu item object
parentMenuItemDR
Type: CMS.BaseISimpleDataContainer
Data row representing parent menu item
menuItemsDS
Type: CMS.BaseIGroupedData
Grouped data source containing all menu items at all levels
level
Type: SystemInt32
Item level
menuObject
Type: Menu
Menu control object
See Also