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

set allowsTranparency=false on floating panes

3 Answers 232 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Pritesh
Top achievements
Rank 1
Pritesh asked on 27 Oct 2010, 03:04 PM
Hi,

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"/>

 

 

 

 

</Style>

but I get the error message -

property was not found in RadePane.

could you tell me how to disable AllowsTransparency please?

 

3 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 01 Nov 2010, 10:16 AM
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,
George
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
0
Adam Adorjan
Top achievements
Rank 1
answered on 29 Aug 2011, 06:29 PM
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.

0
Miroslav Nedyalkov
Telerik team
answered on 30 Aug 2011, 12:00 PM
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?

Regards,
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 >>

Tags
Docking
Asked by
Pritesh
Top achievements
Rank 1
Answers by
George
Telerik team
Adam Adorjan
Top achievements
Rank 1
Miroslav Nedyalkov
Telerik team
Share this question
or