MenuDesigner::TemplateGroups Property
.NET Framework (current version)
Gets a collection of template groups for the templates of the associated control.
Assembly: System.Design (in System.Design.dll)
public: property TemplateGroupCollection^ TemplateGroups { virtual TemplateGroupCollection^ get() override; }
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
Available since 2.0
Show: