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

How to Set the Caption Height of the ToolWindow's Titlebar of the RadDocking Control

Environment

Product Version 2022.3.912
Product RadDocking for WPF

Description

The Title and TitleTemplate properties of the RadPane element allow you to introduce a title that is bigger height than the default one. This will not automatically update the title area that allows you to drag the generated ToolWindow element.

Solution

To change this behavior, you can manually increase the drag threshold by setting the CaptionHeight property of the ToolWindow element.

Changing the CaptionHeight property

<!-- If you use NoXaml dlls set the BasedOn property of the Style: BasedOn="{StaticResource ToolWindowStyle}" -->  
<Style TargetType="telerik:ToolWindow"> 
    <Setter Property="CaptionHeight" Value="60"/> 
</Style> 
In this article