C1NavigationList Templates

You can alter the C1NavigationList control's templates to enhance the appearance or functionality of the navigation list items. There are three templates that can be modified: the ItemsTemplate, the TopItemsTemplate, and the ChildItemsTemplate. 

You can customize the header and footer through the template editor. The template editor is accessible through C1NavigationList's context menu or its Tasks menu:

      To access the template editor through C1NavigationList's context menu:

Right-click the control, select Edit Template, and then choose Common Items Template

      To access the template editor through the C1NavigationList Tasks menu:

Click the control’s smart tag, select Edit Template from its Tasks menu, and choose ItemsTemplate, TopItemsTemplate, or ChildItemsTemplate from the drop-down list.

The control goes into template editing mode. You can drag and drop arbitrary controls template and then modify the embedded control's properties in the Properties window. For example, if you added a Label to the template, you would right-click the Label control and select Properties to modify its properties.

Once you have added the controls, select End Template Editing to end template editing mode.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.