Item Templates

ComponentOne Accordion for Silverlight's accordion control is an ItemsControls that serves as a container for other elements. As such, the control includes templates to customize items places within the accordion. These templates include an ItemTemplate an ItemContainerStyle template. You use the ItemTemplateto specify the visualization of the data objects and the ItemsPanelto define the panel that controls the layout of items.

Accessing Templates

You can access these templates in Microsoft Expression Blend by selecting the C1Accordion control and, in the menu, selecting Edit Additional Templates. Choose Edit Generated Items (ItemTemplate) or Edit Layout of Items (ItemsPanel) and select Create Empty to create a new blank template or Edit a Copy.

A dialog box will appear allowing you to name the template and determine where to define the template.


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