The PanelBar allows you to use templates for instantiating its items and for customizing its appearance.
You can apply templates to:
- The content property of the items option by using a collection.
- The content of the declaratively initialized items.
- Customize the appearance of the title.
When you use collections to instantiate the PanelBar items and do not define a template, the
content property will be rendered in its current state.
The following example demonstrates how to instantiate PanelBar items by using the declarative approach.
The following example demonstrates how to use the