# ASP.NET Core PanelBar Overview

The Telerik UI PanelBar TagHelper and HtmlHelper for ASP.NET Core are server-side wrappers for the Kendo UI PanelBar widget.

The PanelBar displays hierarchical data as a multi-level, expandable widget.

* [Demo page for the PanelBar TagHelper](https://demos.telerik.com/aspnet-core/panelbar)

* [Demo page for the PanelBar HtmlHelper](https://demos.telerik.com/aspnet-core/panelbar/tag-helper)

## Basic Configuration

The following example demonstrates the basic configuration of the PanelBar.

```Razor HtmlHelper
    @(Html.Kendo().PanelBar()
      .Name("panelbar")
      .ExpandMode(PanelBarExpandMode.Single)
      .Items(panelbar =>
      {
          panelbar.Add().Text("Projects")
              .Items(projects =>
              {
                  projects.Add().Text("New Business Plan");

                  projects.Add().Text("Sales Forecasts")
                      .Items(forecasts =>
                      {
                          forecasts.Add().Text("Q1 Forecast");
                          forecasts.Add().Text("Q2 Forecast");
                          forecasts.Add().Text("Q3 Forecast");
                          forecasts.Add().Text("Q4 Forecast");
                      });

                  projects.Add().Text("Sales Reports");
              });

          panelbar.Add().Text("Programs")
              .Items(programs =>
              {
                  programs.Add().Text("Monday");
                  programs.Add().Text("Tuesday");
                  programs.Add().Text("Wednesday");
                  programs.Add().Text("Thursday");
                  programs.Add().Text("Friday");
              });

          panelbar.Add().Text("Communication").Enabled(false);
      })
    )
```

```Razor TagHelper
    <kendo-panelbar name="panelbar" expand-mode="single">
        <items>
            <panelbar-item text="Projects">
                <items>
                    <panelbar-item text="New Business Plan"></panelbar-item>
                    <panelbar-item text="Sales Forecasts">
                        <items>
                            <panelbar-item text="Q1 Forecast"></panelbar-item>
                            <panelbar-item text="Q2 Forecast"></panelbar-item>
                            <panelbar-item text="Q3 Forecast"></panelbar-item>
                            <panelbar-item text="Q4 Forecast"></panelbar-item>
                        </items>
                    </panelbar-item>
                    <panelbar-item text="Sales Reports"></panelbar-item>
                </items>
            </panelbar-item>
            <panelbar-item text="Programs">
                <items>
                    <panelbar-item text="Monday"></panelbar-item>
                    <panelbar-item text="Tuesday"></panelbar-item>
                    <panelbar-item text="Wednesday"></panelbar-item>
                    <panelbar-item text="Thursday"></panelbar-item>
                    <panelbar-item text="Friday"></panelbar-item>
                </items>
            </panelbar-item>
            <panelbar-item text="Communication" enabled="false"></panelbar-item>
        </items>
    </kendo-panelbar>
```

## Functionality and Features

* [Data Binding](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/navigation/panelbar/binding/binding-overview)—The PanelBar supports binding to data.
* [Expand modes](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/navigation/panelbar/expand-modes)—The component offers `Single` and `Multiple` expand modes.
* [Events](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/navigation/panelbar/events)—To control the behavior of the component upon user interaction, you can use the events that the component emits.
* [Accessibility](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/navigation/panelbar/accessibility/overview)—The PanelBar is accessible by screen readers and provides WAI-ARIA, Section 508, WCAG 2.1, and keyboard support.

## Next Steps

* [Getting Started with the PanelBar](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/navigation/panelbar/getting-started)

* [Basic Usage of the PanelBar HtmlHelper for ASP.NET Core (Demo)](https://demos.telerik.com/aspnet-core/panelbar)

* [Basic Usage of the PanelBar TagHelper for ASP.NET Core (Demo)](https://demos.telerik.com/aspnet-core/panelbar/tag-helper)

* [PanelBar in Razor Pages](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/navigation/panelbar/binding/razor-page)

## See Also

* [Using the API of the PanelBar HtmlHelper for ASP.NET Core (Demo)](https://demos.telerik.com/aspnet-core/panelbar/api)
* [PanelBar Client-Side API](https://docs.telerik.com/kendo-ui/api/ui/panelbar)
* [PanelBarBuilder Server-Side API](https://docs.telerik.com/aspnet-core/api/kendo.mvc.ui.fluent/panelbarbuilder)
* [PanelBar Server-Side API](https://www.telerik.com/aspnet-core-ui/documentation/api/panelbar)
* [Knowledge Base Section](https://www.telerik.com/aspnet-core-ui/documentation/knowledge-base)
