# .NET MAUI TabView Templates

The TabView provides set of templates for its elements. If you want to change the TabView appearance you can use the provided templates:

* `HeaderTemplate` (`ControlTemplate`)—Defines the template of the entire TabView Header. This includes the tabs in the Header (Header area + Header items).
* `HeaderItemTemplate` (`ControlTemplate`)—Defines the template of the individual header items.
* `ContentTemplate` (`ControlTemplate`)—Defined the template of the entire TabView Content.

  ![.NET MAUI TabView Visual Structure](https://www.telerik.com/maui-ui/documentation/assets/4c20b4ffee88a1d8136f1ca3eb85d51d/visual-structure.png "Visual elements of TabView control")

**Example with TabView templates**

```XAML
<telerik:RadTabView x:Name="tabView">
    <telerik:RadTabView.HeaderItemTemplate>
        <ControlTemplate>
            
        </ControlTemplate>
    </telerik:RadTabView.HeaderItemTemplate>
    <telerik:RadTabView.HeaderTemplate>
        <ControlTemplate>
            
        </ControlTemplate>
    </telerik:RadTabView.HeaderTemplate>
    <telerik:RadTabView.ContentTemplate>
        <ControlTemplate>
             
        </ControlTemplate>
    </telerik:RadTabView.ContentTemplate>
</telerik:RadTabView>
```

> If you want to review the default TabView `HeaderTemplate`, `HeaderItemTemplate` and `ContentTemplate`, add the [TelerikTheming](https://www.telerik.com/maui-ui/documentation/styling-and-themes/overview) to the project and go to `TelerikTheming/Styles/Platform/TabView.xaml` file.
> If you do not want to change the default templates you can customize the look of the TabView, TabView Header, TabView `HeaderItem` and TabView Content using the flexible styling API. For more details review the [TabView Styling article](https://www.telerik.com/maui-ui/documentation/controls/tabview/styling/overview).

## See Also

* [TabViewItem](https://www.telerik.com/maui-ui/documentation/controls/tabview/tabviewitem)
* [Selection](https://www.telerik.com/maui-ui/documentation/controls/tabview/selection)
* [Styling](https://www.telerik.com/maui-ui/documentation/controls/tabview/styling/overview)
