Hi,
I've been having some trouble with RadDocking as a whole when trying to apply styles. I have used Blend to Edit a Copy of each template for RadDocking, RadPaneGroup, and RadPane. I've literally changed every background color and border to a Blue color, which works...but no matter what the RadPane Content Won't change! If i set the RadPane to IsPinned, the style works, but if I set IsPinned = false, the default style is there when I click or hover over the Pane's Tab to see it. What am i missing?
I've been having some trouble with RadDocking as a whole when trying to apply styles. I have used Blend to Edit a Copy of each template for RadDocking, RadPaneGroup, and RadPane. I've literally changed every background color and border to a Blue color, which works...but no matter what the RadPane Content Won't change! If i set the RadPane to IsPinned, the style works, but if I set IsPinned = false, the default style is there when I click or hover over the Pane's Tab to see it. What am i missing?
5 Answers, 1 is accepted
0
Hello Josh,
In order to change the look of RadPane when it is set to false you should modify brushes inside VisualStates named: NormalVertical, HighlightedVertical, SelectedVertical and SelectedHighlightedVertical. In the attached project I demonstrated the approach.
I hope this will be helpful.
Greetings,
Maria
the Telerik team
In order to change the look of RadPane when it is set to false you should modify brushes inside VisualStates named: NormalVertical, HighlightedVertical, SelectedVertical and SelectedHighlightedVertical. In the attached project I demonstrated the approach.
I hope this will be helpful.
Greetings,
Maria
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0
Josh
Top achievements
Rank 1
answered on 20 Feb 2013, 01:42 PM
I have already accomplished what you've just replied with. I said, the style for which the CONTENT uses will not stick. For example, when I hover over the Radpane (the part that you styled in the example with a purple background), the content that slides out to the right, which has the upside down triangle, the pin/unpin button, and the "close" button, does not style. I am trying to apply styles to that whole thing, header, header text, everything...I hope I've explained myself better. Thanks.
0
Hello Josh,
Please, excuse me for the misunderstanding. What you need to do is to modify PaneHeaderStyle in order changes to be applied inside HeaderContent of RadPane. The style has been missing so I've added it to the sample project. Expression Blend didn't generate it, that's why you could not find it.
You could find all resources of the RadDocking control inside RadControls installation folder on your machine. Find Themes folder which contains all themes resources and select Telerik.Windows.Controls.Docking.xaml file of the desired theme.
Please let me know if you need any further help.
Kind regards,
Maria
the Telerik team
Please, excuse me for the misunderstanding. What you need to do is to modify PaneHeaderStyle in order changes to be applied inside HeaderContent of RadPane. The style has been missing so I've added it to the sample project. Expression Blend didn't generate it, that's why you could not find it.
You could find all resources of the RadDocking control inside RadControls installation folder on your machine. Find Themes folder which contains all themes resources and select Telerik.Windows.Controls.Docking.xaml file of the desired theme.
Please let me know if you need any further help.
Kind regards,
Maria
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0
Josh
Top achievements
Rank 1
answered on 21 Feb 2013, 07:07 PM
Thankyou, that did work...however there is still one more issue...the content background is still white. I have a Radpane with a datagrid inside of it, that has some margin and some padding, so I should see the background, which is white. How do I change the content background also?
0
Hi Josh,
In order to change the background color of the selected RadPane, you need to modify PaneTabBackground_Selected brush and PaneTabBackground_SelectedHighlighted Brushes.
I hope this will be helpful.
Greetings,
Maria
the Telerik team
In order to change the background color of the selected RadPane, you need to modify PaneTabBackground_Selected brush and PaneTabBackground_SelectedHighlighted Brushes.
I hope this will be helpful.
Greetings,
Maria
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.