# How to Remove the Header of the RadPane

The purpose of this tutorial is to show how to remove the **Header** of the RadPane.

For more information about the RadPane and its visual elements, read [here](https://www.telerik.com/products/wpf/documentation/controls/raddocking/general-information/visual-structure).

## Removing the RadPane’s Header

In order to remove the **Header** of the **RadPane** you have to set the **PaneHeaderVisibility** property to **Collapsed**.

```XAML
<telerik:RadDocking Grid.Row="1">
    <telerik:RadSplitContainer InitialPosition="DockedBottom">
        <telerik:RadPaneGroup>
            <telerik:RadPane Header="Pane with header"/>
            <telerik:RadPane PaneHeaderVisibility="Collapsed"/>
        </telerik:RadPaneGroup>
    </telerik:RadSplitContainer>
</telerik:RadDocking>
```

After that the Panes will look like this:

![WPF RadDocking Pane with No Header](https://www.telerik.com/products/wpf/documentation/assets/b9078a5b91203678269cfe728db74d05/pane_noheader.gif)

## Removing the RadDocumentPane’s Tab

This is commonly misinterpreted as the RadPane’s Header, but here the **PaneHeaderVisibility** is not the property we need. The Tab of the **RadDocumentPane** is actually the Pane itself.

![WPF RadDocking Document Pane Header](https://www.telerik.com/products/wpf/documentation/assets/21c288d5ed5ed621a584ac8008f77d7a/docpane_withheader.gif)

So to remove it and to leave only the border of the DocumentPane in the DocumentHost you will have to set its its **Visibility** property to **Collapsed**.

```XAML
<telerik:RadDocking>
    <telerik:RadDocking.DocumentHost>
        <telerik:RadSplitContainer>
            <telerik:RadPaneGroup x:Name="docHostSplitContainer">
                <telerik:RadDocumentPane Header="DocPane" Visibility="Collapsed"/>
            </telerik:RadPaneGroup>
        </telerik:RadSplitContainer>
    </telerik:RadDocking.DocumentHost>
    <telerik:RadSplitContainer InitialPosition="DockedRight">
        <telerik:RadPaneGroup>
            <telerik:RadPane Header="Pane 1"/>
        </telerik:RadPaneGroup>
    </telerik:RadSplitContainer>
</telerik:RadDocking>
```

![WPF RadDocking Document Pane No Header](https://www.telerik.com/products/wpf/documentation/assets/cdb400cea2c141aa08004389b10635fc/docpane_noheader.gif)

If you set the **CanUserClose** property of the **RadDocumentPane** the 'X' button will disappear as long with the grey area.

![WPF RadDocking Document Pane No Header No Close Button](https://www.telerik.com/products/wpf/documentation/assets/f90781c48f4e256f2af513f729d0c17a/docpane_nogray.gif)
