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

How to Use Transparent Theme with Docking

2 Answers 115 Views
Docking
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kelly
Top achievements
Rank 1
Kelly asked on 02 Feb 2012, 01:43 AM
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 Answers, 1 is accepted

Sort by
0
Accepted
Yana
Telerik team
answered on 06 Feb 2012, 01:53 PM
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 >>
0
Kelly
Top achievements
Rank 1
answered on 06 Feb 2012, 06:20 PM
Thank you, Yana - that did it.

Kelly
Tags
Docking
Asked by
Kelly
Top achievements
Rank 1
Answers by
Yana
Telerik team
Kelly
Top achievements
Rank 1
Share this question
or