RadDocking - RadPane Styling

5 posts, 0 answers
  1. Karthik
    Karthik avatar
    2 posts
    Member since:
    Nov 2010

    Posted 12 Jan 2011 Link to this post

    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.
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 14 Jan 2011 Link to this post

    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>>
  3. DevCraft banner
  4. david
    david avatar
    4 posts
    Member since:
    Jan 2011

    Posted 10 Mar 2011 Link to this post

    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
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 14 Mar 2011 Link to this post

    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!
  6. david
    david avatar
    4 posts
    Member since:
    Jan 2011

    Posted 14 Mar 2011 Link to this post

    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
Back to Top
DevCraft banner