How to Use Transparent Theme with Docking

3 posts, 1 answers
  1. Kelly
    Kelly avatar
    73 posts
    Member since:
    Apr 2011

    Posted 01 Feb 2012 Link to this post

    Hi,
    I have a RadGridView inside a Grid, inside a RadBusyIndicator, inside a Grid. All of this is set as the content of a RadDocumentPane. The control that contains the RadDocking control has an image set as its background.  I'm using the Transparent theme. The document pane seems to be VERY slightly transparent when the pane is docked, but 100% opaque when the pane is floating. This is shown in the attached file "have.png". Your demo exhibits the same behavior.

    I want the whole works to be transparent, as shown in "want.png", which is just a RadGridView inside a Border with its background set to an image. I've set everything I can get my hands on to Transparent, but I can't make the docking pane transparent.

    How do I accomplish this please?

    Thank you,

    Kelly
  2. Answer
    Yana
    Admin
    Yana avatar
    4554 posts

    Posted 06 Feb 2012 Link to this post

    Hi Kelly,

    You should customize the Transparent theme in order to achieve the needed approach.  I've attached a simple example where I've changed only the following styles:

    <SolidColorBrush x:Key="ToolWindow_Background" Color="Transparent" />
    <SolidColorBrush x:Key="ToolWindow_OuterBorderBrush" Color="Transparent" />
    <SolidColorBrush x:Key="ToolWindow_InnerBorderBrush" Color="Transparent" />

    Please download the attachment and give it a try.

    Kind regards,
    Yana
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
  4. Kelly
    Kelly avatar
    73 posts
    Member since:
    Apr 2011

    Posted 06 Feb 2012 Link to this post

    Thank you, Yana - that did it.

    Kelly
Back to Top