Themming RadDocking

2 posts, 0 answers
  1. Victor
    Victor avatar
    12 posts
    Member since:
    Feb 2011

    Posted 04 Oct 2012 Link to this post

    Hi everyone,

    I'm trying to change the colours of the RadDocking components.
    So far I've made a theme for it and I'm able to apply it, but I dunno how to change the colours of some of the components.

    1- Text colour of the PaneTab
    2- Frame of the PaneTab

    I attach a picture of what I need but I cannot attach the xaml file.

    Can anybody help me? 

    Thanks in advance and forgive my poor english skills.
  2. Victor
    Victor avatar
    12 posts
    Member since:
    Feb 2011

    Posted 04 Oct 2012 Link to this post

    Ok, I have found a solution for changing the colour of the Pane TabFrame.

    But I still need to change the text colour of the PaneTab. Any help?




    Sokution of the PaneTabFrame: 

    Changing colours of:

    <ControlTemplate x:Key="PaneGroup_DocumentFrameTemplate" TargetType="ContentControl">
            <Border x:Name="Root"
                    Background="{TemplateBinding Background}"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    CornerRadius="{StaticResource PaneGroup_DocumentFrameL4_CornerRadius}">
     
                <Border x:Name="BorderLayer3"
                        BorderBrush="{StaticResource PaneGroup_DocumentFrameL3_Brush}"
                        BorderThickness="{StaticResource PaneGroup_DocumentFrameL3_Thickness}"
                        CornerRadius="{StaticResource PaneGroup_DocumentFrameL3_CornerRadius}">
     
                    <Border x:Name="BorderLayer2"
                            BorderBrush="{StaticResource PaneGroup_DocumentFrameL2_Brush}"
                            BorderThickness="{StaticResource PaneGroup_DocumentFrameL2_Thickness}"
                            CornerRadius="{StaticResource PaneGroup_DocumentFrameL2_CornerRadius}">
     
                        <Border x:Name="BorderLayer1"
                                BorderBrush="{StaticResource PaneGroup_DocumentFrameL1_Brush}"
                                BorderThickness="{StaticResource PaneGroup_DocumentFrameL1_Thickness}"
                                CornerRadius="{StaticResource PaneGroup_DocumentFrameL1_CornerRadius}">
     
                            <ContentPresenter />
     
                        </Border>
                    </Border>
                </Border>
            </Border>
        </ControlTemplate>
  3. DevCraft banner
Back to Top