Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

MenuGroup.TemplateItem Property

Gets or sets an item that is used as a template to generate data bound items.

[Visual Basic]
Public Property TemplateItem As MenuItem
[C#]
public MenuItem TemplateItem {get; set;}

Remarks

During data binding, items are automatically created for each data record in the data source. If TemplateItem is set, the newly created item will apply the same setting specified in TemplateItem.

Specify the common setting in TemplateItem to simplify the code.

Tip:  You can embed group inside a TemplateItem. The embedded group settings will apply to the newly created item's group.

using item template for details.

See Also

MenuGroup Class | EO.Web Namespace


Direct link to this topic