New to Telerik UI for WPF? Download free 30-day trial

Remove Space around RadPaneGroup and DocumentHost

Environment

Product Version 2020.3.1020
Product RadDocking for WPF

Description

How to remove the padding around the pane groups of the RadDocking control.

Solution

To get rid of the extra space surrounding the panes in the pane groups and the DocumentHost, you need to create an appropriate style for the RadPaneGroup and override the default Padding.

<!-- If you're using the NoXaml binaries, you need to base the custom style on the default one for the control, like so: 
<Style TargetType="telerik:RadPaneGroup" BasedOn="{StaticResource RadPaneGroupStyle}"> --> 
<Style TargetType="telerik:RadPaneGroup"> 
    <Setter Property="Padding" Value="0" /> 
</Style> 

Figure 1: DocumentHost with and without the default padding in the Crystal theme

DocumentHost with and without the default padding in the Crystal theme

See Also

In this article
Not finding the help you need? Improve this article