set allowsTranparency=false on floating panes

4 posts, 0 answers
  1. Pritesh
    Pritesh avatar
    1 posts
    Member since:
    Oct 2010

    Posted 27 Oct 2010 Link to this post


    The problem I have is that I am trying to host a windows form control in a floating pane. Once you start moving the pane around the control disappears. I am reasonably certain that it is because the floating pane window has AllowsTranparency=true. I would like to set it to false.

    I tried creating a new style -




    Style x:Key="Win" TargetType="telerikDockingControls:RadPane">





    <Setter Property="AllowsTransparency" Value="False"/>






    but I get the error message -

    property was not found in RadePane.

    could you tell me how to disable AllowsTransparency please?


  2. George
    George avatar
    1332 posts

    Posted 01 Nov 2010 Link to this post

    Hi Pritesh,

    When a pane goes floating, actually it is placed in a chromeless window. Unfortunately, placing a WindowsFormsHost in a chromeless window is not supported scenario in WPF. If you debug it, you will see that the host is still there, but it is not visible. This is a limitation of the RadDocking at this stage. We sorry for any inconvenience caused. 

    All the best,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Adam Adorjan
    Adam Adorjan avatar
    1 posts
    Member since:
    Nov 2009

    Posted 29 Aug 2011 Link to this post

    We are having performance problems in floating windows because they have AllowsTransparency set to true.  You didn't explicitly state but you did make it sound like it's not possible to set AllowsTransparency to false.  Can you confirm this?  We are not able to use floating windows in views that have frequent updates.

  4. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 30 Aug 2011 Link to this post

    Hi Adam,

    What we state is not that this property cannot be set to False, but that the Docking control will not work correctly then. We are working on removing this limitation from the Docking control. The first step we did was to remove the big transparent window and host each ToolWindow in a separate window. Before the big transparent window couldn't be made non-transparent as it would cover all the visible area. Currently this limitation is almost removed, but it is not ready yet. Do you still have performance problems with the latest version of RadDocking control for WPF?

    Miroslav Nedyalkov
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top