MenuDesigner.TemplateGroups Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of template groups for the templates of the associated control.
public:
virtual property System::Web::UI::Design::TemplateGroupCollection ^ TemplateGroups { System::Web::UI::Design::TemplateGroupCollection ^ get(); };
public override System.Web.UI.Design.TemplateGroupCollection TemplateGroups { get; }
member this.TemplateGroups : System.Web.UI.Design.TemplateGroupCollection
Public Overrides ReadOnly Property TemplateGroups As TemplateGroupCollection
Property Value
A TemplateGroupCollection containing an element for each template in the Menu.
Remarks
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.