CMSMenuGetNewMenuItem Method |
Returns a new MenuItem object based on provided data row.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax 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:
MenuItemSee Also