ComponentOne WebMenus and WebBars for ASP.NET (2.0) Search HelpCentral 

Adding HTML Tags to the Menu Item

To add HTML tags to the menu item, use the following code:

·      Visual Basic

menu.Items.Add(New C1WebMenuItem("<b><font size='-1'>Search the web</font></b>"))

·      C#

menu.Items.Add(new C1WebMenuItem("<b><font size='-1'>Search the web</font></b>"));

·      Delphi

menu.Items.Add(New C1WebMenuItem('<b><font size='-1'>Search the web</font></b>'));


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.