Radpane style not applying when change position

3 posts, 1 answers
  1. Bipin
    Bipin avatar
    13 posts
    Member since:
    May 2013

    Posted 08 Aug 2013 Link to this post

    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. Bipin
    Bipin avatar
    13 posts
    Member since:
    May 2013

    Posted 12 Aug 2013 Link to this post

    Hi
    Can somebody please reply to this thread?
    Its very urgent for me

    Thanks
    Bipin
  3. DevCraft banner
  4. Answer
    Kalin
    Admin
    Kalin avatar
    1208 posts

    Posted 13 Aug 2013 Link to this post

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