Hi everyone,
For some reasons, I made some changes on Header for undocked/floating window (called ToolWindow) editing ToolWindow template and modifying it.
As you can see on attached file, I increased font size, header height (rectangle was 22, now 48), changed colors etc...
Everything look fine BUT I can only drag the window clicking on the upper part on the header (actually I think the first 22 pixels). The new header height value is not taken in account and I don t know what to do.
Here is my changes:
<Rectangle Grid.ColumnSpan="2" Fill="WhiteSmoke" Height="48"/>
<Border x:Name="HeaderElement" Background="Transparent">
<ContentControl x:Name="Header" VerticalAlignment="Center" ContentTemplate="{TemplateBinding HeaderTemplate}" Content="{TemplateBinding Header}" Foreground="Gray" FontSize="22" FontFamily="{DynamicResource {x:Static telerik:Windows8ResourceKey.FontFamilyLight}}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" IsTabStop="False" Margin="6,0"/>
</Border>
Thanks in advance for your help
Seb