# Getting Started Overview

This tutorial will walk you through creating a **RadPanelBar** (Accordion) and shows how to:

* Use the **RadPanelBar Item Builder** to build a multi-level panel bar.

* Apply a skin to the panel bar to change its look & feel.

* Add a template to a panel bar item.

* Set **RadPanelBar** properties.

## Creating a panel bar using the RadPanelBar Item Builder

* Drag a **RadPanelBar** component from the toolbox onto your Web page. The **RadPanelBar** [ Smart Tag ](https://www.telerik.com/products/aspnet-ajax/documentation/controls/panelbar/design-time/smart-tag) should appear automatically:![PanelBar Tasks](https://www.telerik.com/products/aspnet-ajax/documentation/assets/938871678878587c9209804456961755/panelbar_gettingstarted1.png)

* On the Smart Tag, choose **Build RadPanelBar.** The [RadPanelBar Item Builder](https://www.telerik.com/products/aspnet-ajax/documentation/controls/panelbar/design-time/radpanelbar-item-builder) appears:![RadPanelBar Item Builder](https://www.telerik.com/products/aspnet-ajax/documentation/assets/eda366ce3b1683b463413645b3ac7f9b/panelbar_radpanelbaritembuilder.png)

* Click the **Add root item** button ( ![Panelbar Add Root Item](https://www.telerik.com/products/aspnet-ajax/documentation/assets/e858f70568667612f963ca3275e921e8/panelbar_addrootitem.png)) to add a root item to your panel bar.

* Set its **Text** property to "Mail".

  ![PanelBar Item Builder](https://www.telerik.com/products/aspnet-ajax/documentation/assets/253a57ce2c548a1ffe43d0634933f6da/panelbar_firstitem.png)

* With the "Mail" item selected, click the **Add child item** button ( ![Add Child Item](https://www.telerik.com/products/aspnet-ajax/documentation/assets/47575170d4ba2645d732052f91452dcd/panelbar_addchilditem.png)) to add a child to your root item.

  * Select the child item and set its **Text** property to "In Box".

* Select the "Mail" item again, and click the **Add child item** button twice to add two more child items.

  * Set the **Text** property of the first of these to "Deleted Items".

  * Set the **Text** property of the second of these to "Sent Items".![First Item With Children](https://www.telerik.com/products/aspnet-ajax/documentation/assets/86eb17d25c2ba2d1c041a18f1af517df/panelbar_firstitemwithchildren.png)

* Click the **Add root item** button to add another root item. Set its **Text** property to "Calendar".

* With the "Calendar" item selected, click the Add child item button to add a child item. Set its **Text** property to an empty string.

* Click the **Add root item** button again to add a third root item. Set its **Text** property to "Notes".

* Select the "Notes" item and click the **Add child item** button four times to add four child items.

  * Set the **Text** property of the first child item to "My Notes".

  * Set the **Text** property of the second child item "Shared Notes".

  * Set the **Text** property of the third child item to `<hr>` and set its **IsSeparator** property to **True**.

  * Set the **Text** property of the fourth child item to "Archive".![Item Builder Two Levels](https://www.telerik.com/products/aspnet-ajax/documentation/assets/3c59c68b9420c0d0447e679e72dab3ed/panelbar_itembuildertwolevels.png)

* Select the "Archive" child item. With the Archive button selected, click the **Add child item** button twice to give the child item two child items of its own.

  * Set the **Text** property of the first child item to "My Notes"

  * Set the **Text** property of the second child item to "Shared Notes".![Item Builder Three Levels](https://www.telerik.com/products/aspnet-ajax/documentation/assets/1626999bf237b7e804073ec3d7aca56b/panelbar_itembuilderthreelevels.png)

* Click **OK** to confirm and exit.

* Back in the **RadPanelBar** Smart Tag, use the **Skin** drop-down to change the [skin](https://www.telerik.com/products/aspnet-ajax/documentation/controls/panelbar/appearance-and-styling/skins) for the **RadPanelBar** to "Outlook". The appearance of the **RadPanelBar** in the designer changes to reflect the new skin:![Choose Skin](https://www.telerik.com/products/aspnet-ajax/documentation/assets/0364cf93e88d21df8a848340dc6e75b3/panelbar_chooseskin.png)

* In the **RadPanelBar** Smart Tag, click the **Edit Templates** link.

* The Smart Tag switches to template editing mode. From the **Display** drop-down, select the template for the child item of the "Calendar" item:![Template Editing Mode](https://www.telerik.com/products/aspnet-ajax/documentation/assets/8dfa6d659272b5f0541f33c6aef8b23c/panelbar_templateeditingmode.png)

* Drag a **RadCalendar** control from the toolbox onto the [Template Design Surface](https://www.telerik.com/products/aspnet-ajax/documentation/controls/panelbar/design-time/template-design-surface). Set its **Skin** property to "Outlook" to match the panel bar:![Template Item](https://www.telerik.com/products/aspnet-ajax/documentation/assets/ee6077a4753d239a2d6f5d7108301e73/panelbar_templateitem.png)

* Click on the **RadPanelBar** Smart Tag anchor to display its Smart Tag again, and choose **End Template Editing**:![End Template Editing](https://www.telerik.com/products/aspnet-ajax/documentation/assets/8ebb207f08eeaf78b54332077a1203ba/panelbar_endtemplateediting.png)

* Right click on the **RadPanelBar**, and from its context menu, choose **Properties**.

* In the **Behavior** section of the properties pane:

  * Expand the **ExpandAnimation** property and set the **Type** to "InOutBounce". This introduces an [animated effect](https://www.telerik.com/products/aspnet-ajax/documentation/controls/panelbar/appearance-and-styling/animations) when items are expanded.

  * Set the **ExpandMode** property to "SingleExpandedItem". This specifies that only one item can be [expanded](https://www.telerik.com/products/aspnet-ajax/documentation/controls/panelbar/radpanelbar-items/expanding-and-collapsing-items) at a time.

* Run the application. Click on the panel bar items to expand them. Note the animated effect. When you expand the "Calendar" item, the template displays:

  ![PanelBar Calendar Template](https://www.telerik.com/products/aspnet-ajax/documentation/assets/613ef1f8583e6c443942bf536b49484c/panelbar_gettingstartedcalendar.png)

When you click the Notes item, the second level of items appears. You can then click on the "Archive" item to display the third level of items:
![Getting Started Hierarchy](https://www.telerik.com/products/aspnet-ajax/documentation/assets/302b7f382bb6c3e58d1c2fed0ffdfa63/panelbar_gettingstartedhierarchy.png)

## See Also

* [Binding to a Data Source](https://www.telerik.com/products/aspnet-ajax/documentation/controls/panelbar/getting-started/binding-to-a-data-source)
