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

Radpane style not applying when change position

2 Answers 64 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Bipin
Top achievements
Rank 1
Bipin asked on 08 Aug 2013, 10:13 AM
HI,
I am using radocking control. When i add radpane from code behind, i keep radpane background transparent.
Check below code and attached image.

<telerik:RadDocking AllowDragReorder="True"   x:Name="XamlMainDocker"  AllowUnsafeMode="True" Grid.Column="0" Grid.Row="1"  BorderThickness="0" Padding="0" Background="Transparent">
                <telerik:RadSplitContainer AllowDrop="True"  x:Name="radSplitContainer" Background="Transparent">
                    <telerik:RadPaneGroup x:Name="radPaneGroup" Background="Transparent">

                    </telerik:RadPaneGroup>
                </telerik:RadSplitContainer>
            </telerik:RadDocking>

But when i change the position it modifies the background color to white. Please check the attached image.
Even i have followed below link, it says there are four type of control templates.
http://www.telerik.com/community/forums/silverlight/docking/change-tab-template-for-radpane.aspx

But I don't know how to apply them when position get changed.

I want to keep my radpane background transparent in any position.

Any help?

Thanks
Bipin

2 Answers, 1 is accepted

Sort by
0
Bipin
Top achievements
Rank 1
answered on 12 Aug 2013, 11:18 AM
Hi
Can somebody please reply to this thread?
Its very urgent for me

Thanks
Bipin
0
Accepted
Kalin
Telerik team
answered on 13 Aug 2013, 12:42 PM
Hi Bipin,

In order to change the Pane background in any state you would need to change the Background properties in the RadPaneGroupStyle and ToolWindowStyle as required, this could be easily done using Implicit Styles. Please see the attached sample project which demonstrates the exact approach.

Hope this helps. If you have any other questions, let us know.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Docking
Asked by
Bipin
Top achievements
Rank 1
Answers by
Bipin
Top achievements
Rank 1
Kalin
Telerik team
Share this question
or