Click or drag to resize
CMSMenuGetNewMenuItem Method
Returns a new MenuItem object based on provided data row.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax
C#
protected MenuItem GetNewMenuItem(
	ISimpleDataContainer data,
	int level,
	string cssPostfix
)

Parameters

data
Type: CMS.BaseISimpleDataContainer
Data containing menu item description
level
Type: SystemInt32
Level in indentation
cssPostfix
Type: SystemString
CssPostfix use with UseAlternatingStyles

Return Value

Type: MenuItem
See Also