This sample demonstrates the use of the template technology in the ASPxNavBar control. The look of each basic element of the navbar control can be completely changed by creating a specific template which defines how the element will be rendered by a client browser.
The navbar control is bound to an XmlDataSource object that retrieves data stored in a specific xml file. The navbar's GroupDataBound event is handled to assign a specific group content template to the ContentTemplate property of a group when it is being bound to its data. (See VB or C# code)
ContentTemplate.ascx represents a UserControl that supports the ITemplate interface by implementing the InstantiateIn method and contains a set of child controls which compose the group contents based upon the required design.
The DataBindContentUserControl method (see VB or C# code) demonstrates how the UserControl's child controls can be bound to the required data passed to the GroupDataBound event.