This question is locked. New answers and comments are not allowed.
Hi,
I'm having some issues with setting the background color of my RadPanes' headers.
I've created four different data templates (I have four panes that each have a different icon in the header) like this:
<DataTemplate x:Key="ChecklistTitleTemplate"> <Grid Background="#efa1b6"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition /> </Grid.ColumnDefinitions> <Image Grid.Column="0" Source="../../icons/icon_checklist.png" Width="30" Height="30" /> <ContentPresenter Grid.Column="1" Content="{Binding}" Margin="10,0,0,0" /> </Grid></DataTemplate>I'm then applying the template like this:
<telerik:RadPane Header="Checklista" Content="..." TitleTemplate="{StaticResource ChecklistTitleTemplate}" telerik:RadDocking.SerializationTag="Checklist" ContextMenuTemplate="{x:Null}">However the background isn't covering the entire pane header. See the attached screenshot to see what I mean.
Thanks,
Jonathan