Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

ToolBar.ItemTemplates Property

Gets the collection of ToolBarItem objects that are used as templates for regular tool bar items in the Items collection.

[Visual Basic]
Public ReadOnly Property ItemTemplates As ToolBarItemCollection
[C#]
public ToolBarItemCollection ItemTemplates {get;}

Remarks

Different type of tool bar items usually have different style settings. Instead of configuring every tool bar item in the tool bar's Items collection, you can configure one for each type of ToolBarItem and place them in the ItemTemplates collection.

At runtime, the ToolBar tries to locate a template item for each tool bar item by searching a tool bar item with the same Type value in its ItemTemplates collection. The template item's style setting is then used unless overriden on the target item.

See Also

ToolBar Class | EO.Web Namespace


Direct link to this topic