Click or drag to resize
CMSMenuProcessMainMenuItemDR Method
Creates menu items at the top level.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax
C#
protected void ProcessMainMenuItemDR(
	Menu menuObject,
	ISimpleDataContainer newItemDR,
	IGroupedData menuItemsDS,
	string cssPostfix
)

Parameters

menuObject
Type: Menu
Menu object
newItemDR
Type: CMS.BaseISimpleDataContainer
Data row containing menu item description
menuItemsDS
Type: CMS.BaseIGroupedData
Grouped data source containing all menu items at all levels
cssPostfix
Type: SystemString
Css postfix, used with UseAlternatingStyles
See Also