Declined
Last Updated: 02 Jul 2020 15:20 by ADMIN
Thomas
Created on: 01 Jul 2020 14:47
Category: Docking
Type: Bug Report
1
Compass position not updating after window reposition when using RadDocking in UserControl hosted in ElementHost

The RadDocking control is not registering position changes of the docking window when RadDocking is in a WPF UserControl embedded in a WinForms ElementHost:

This appears to only apply to the main window; if you (at runtime) move one of the example panes into a separate window, the compass on that window displays in the correct position when you undock the other pane:

 

I've attached a stripped down solution that reproduces the issue (originally noticed using 2018R2 when rewriting legacy VB WinForms in C# WPF user controls as part of a tech refresh; attached demo is using 2020R2 .NET 4.5 binaries).

3 comments
ADMIN
Kalin
Posted on: 02 Jul 2020 15:20

Hello Thomas,

Glad to hear that - I'm closing the item. 

If you have any other questions, please let us know.

Regards,
Kalin
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Thomas
Posted on: 02 Jul 2020 13:49
Thanks Kalin! That resolved the issue!
ADMIN
Kalin
Posted on: 02 Jul 2020 06:40

Hi Thomas,

Thank you for contacting us. This is expected - in order to have the compasses on the correct places you would need to implement and assign custom IWindowInteropabilityAdapter to RadDocking as demonstrated in this example:

https://github.com/telerik/xaml-sdk/blob/master/Docking/DockingInsideWinForms/Form1.cs

Please give it a try and let me know if you have any other issues.

Regards,
Kalin
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.