MenuDesigner.TemplateGroups Property

 

Gets a collection of template groups for the templates of the associated control.

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

public override TemplateGroupCollection TemplateGroups { get; }

Property Value

Type: System.Web.UI.Design.TemplateGroupCollection

A TemplateGroupCollection containing an element for each template in the Menu.

The TemplateGroups property gets a TemplateGroupCollection object from the TemplateGroups base property. It then adds to the TemplateGroupCollection a TemplateGroup object named "ItemTemplates" that contains two TemplateDefinition objects named "StaticItemTemplate" and "DynamicItemTemplate". The TemplateGroups property returns this TemplateGroupCollection to the caller.

.NET Framework
Available since 2.0
Return to top
Show: