This is a migrated thread and some comments may be shown as answers.

RadDocking - RadPane Styling

4 Answers 114 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Karthik
Top achievements
Rank 1
Karthik asked on 12 Jan 2011, 09:20 AM
Hai,
 
     Iam using RadDocking control.

     I would like to know how to implement the following features in RadPane.
           1. In RadPane, we want to hide the title bar and close button.
           2. We want to make the RadPane background as transparent; and it shall display only the RadPane content.
           3. Show/Hide the Radpane programmatically; also be able to position it programmatically over other RadPanes.

     Kindly let me know how to have these features in RadPane.
 
Regards,
Karthik.

4 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 14 Jan 2011, 11:24 AM
Hello Karthik,

I will answer your questions point by point:
1. How to remove the Header of the Pane you can find more information in this help article.
2. To make the Pane's Background transparent you will have to edit the style of the Docking control. You can easily do that using Expression Blend. Just drop a Docking control on the design surface, right-click it and choose from the menu Edit Template-> Edit A Copy. Then, Blend will generate all the necessary templates and resources. You will have to also edit the ToolWindow template, because when the Pane is floating it is put in a ToolWindow. You can find more information about the structure of the RadDocking control in this help article. You will have to apply the style implicitly in order the Pane to keep its style after undocking and docking again. You can find more information about editing the style of the Pane here.
3. How to pin/unpin/dock/undock Panes programmatically you can find more information in these help articles:

Hope this information helps. Please let us know if you have further questions.

All the best,
Konstantina
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
david
Top achievements
Rank 1
answered on 11 Mar 2011, 12:14 AM
Can you go into detail about this? "You will have to also edit the ToolWindow template"

I have an example from this forum that has the ToolWindow template available in the resources, but when I create a new project and a Edit A Copy for the docking control template, I don't see the ToolWindow templates.

How do I get them to show up?

Thanks,

David
0
Konstantina
Telerik team
answered on 14 Mar 2011, 12:53 PM
Hi David,

Sorry for the misunderstanding.

The ToolWindow style is not generated by Blend. You will have to get the whole style of the Docking in order to edit it. Please find attached the full xaml code of the Docking control.

Please let us know if you need further assistance.

All the best,
Konstantina
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
david
Top achievements
Rank 1
answered on 14 Mar 2011, 06:34 PM
Thank you for your response. I did some research on ToolWindows and found the following Telerik forums to be quite useful.

http://www.telerik.com/help/silverlight/raddocking-styling-the-toolwindow.html
http://www.telerik.com/help/silverlight/raddocking-theming-toolwindow.html

Thanks again,

David
Tags
Docking
Asked by
Karthik
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
david
Top achievements
Rank 1
Share this question
or