Επεξεργασία

Κοινή χρήση μέσω


MenuDesigner.TemplateGroups Property

Definition

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.

Applies to

See also