Gets or sets the template that contains the custom content to render for a dynamic menu.
<BrowsableAttribute(False)> _ <PersistenceModeAttribute(PersistenceMode.InnerProperty)> _ <TemplateContainerAttribute(GetType(MenuItemTemplateContainer))> _ Public Property DynamicItemTemplate As ITemplate
Dim instance As Menu Dim value As ITemplate value = instance.DynamicItemTemplate instance.DynamicItemTemplate = value
[BrowsableAttribute(false)] [PersistenceModeAttribute(PersistenceMode.InnerProperty)] [TemplateContainerAttribute(typeof(MenuItemTemplateContainer))] public ITemplate DynamicItemTemplate { get; set; }
[BrowsableAttribute(false)] [PersistenceModeAttribute(PersistenceMode::InnerProperty)] [TemplateContainerAttribute(typeof(MenuItemTemplateContainer))] public: property ITemplate^ DynamicItemTemplate { ITemplate^ get (); void set (ITemplate^ value); }
public function get DynamicItemTemplate () : ITemplate public function set DynamicItemTemplate (value : ITemplate)
<asp:Menu> <DynamicItemTemplate>ITemplate</DynamicItemTemplate> </asp:Menu>
Instead of using the built-in rendering for a dynamic menu, you can define your own look and feel for a dynamic menu item by using the DynamicItemTemplate property. To specify a custom template for a dynamic menu item, first place <DynamicItemTemplate> tags between the opening and closing tags of the Menu control. You can then list the contents of the template between the opening and closing <DynamicItemTemplate> tags. You can further control the style of a dynamic menu by using the DynamicItemFormatString property.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98