Hi guys,
I have described my problem with hosting a Win32 OSG (built on OpenGL) control in RadDocking for WPF here:
http://stackoverflow.com/questions/10544938/hosting-a-win32-window-in-a-wpf-floating-tear-off-tab
Do you have any ideas what might cause the problem?
Thanks,
Seth
I have described my problem with hosting a Win32 OSG (built on OpenGL) control in RadDocking for WPF here:
http://stackoverflow.com/questions/10544938/hosting-a-win32-window-in-a-wpf-floating-tear-off-tab
Do you have any ideas what might cause the problem?
Thanks,
Seth
4 Answers, 1 is accepted
0
Hi Seth,
I made this thread public to let other users find the response and see the sample project.
The RadDocking control uses transparent WPF windows to display its ToolWindows by default and as a platform limitation of WPF, you cannot display any non-WPF content in such transparent windows. What you could do is to make the windows non-transparent by setting the RadWindowInteropHelper.AllowTransparency attached property of ToolWindow to False. This could be achieved using a custom GeneratedItemsFactory. Please refer to the attached sample project.
Hope this helps.
Greetings,
Miroslav Nedyalkov
the Telerik team
I made this thread public to let other users find the response and see the sample project.
The RadDocking control uses transparent WPF windows to display its ToolWindows by default and as a platform limitation of WPF, you cannot display any non-WPF content in such transparent windows. What you could do is to make the windows non-transparent by setting the RadWindowInteropHelper.AllowTransparency attached property of ToolWindow to False. This could be achieved using a custom GeneratedItemsFactory. Please refer to the attached sample project.
Hope this helps.
Greetings,
Miroslav Nedyalkov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Seth
Top achievements
Rank 1
answered on 14 May 2012, 06:12 AM
Miroslav,
Thanks, that did the trick adding the 'NonTrasparentWindowsGeneratedItemsFactory' factory class.
Cheers,
Seth
Thanks, that did the trick adding the 'NonTrasparentWindowsGeneratedItemsFactory' factory class.
Cheers,
Seth
0
Christian
Top achievements
Rank 1
answered on 19 Jul 2012, 07:05 PM
I had the same problem and this solution works, but is it possible to do this only for selected tool windows? I don't want to have my regular tool windows (not hosting winforms) be non transparent.
Thanks
Thanks
0
Hi Christian,
Creating different types of ToolWindows is not possible with the current implementation of the GeneratedItemsFactory - the factory produces the items without knowing how they are going to be used.
All the best,
Miroslav Nedyalkov
the Telerik team
Creating different types of ToolWindows is not possible with the current implementation of the GeneratedItemsFactory - the factory produces the items without knowing how they are going to be used.
All the best,
Miroslav Nedyalkov
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.