Hello!
I have similar, but slightly different scenario for misplaced dock indicators. Similar to https://www.telerik.com/forums/wrong-rootcompass-indicators-location, but in my case the host process is also WPF application that have ContentPresenter with content from another WPF process.
I've tried to implement IWindowInteropabilityAdapter, but it's properties are not being read at all.
Attaching Adapter
View = FrameworkElementAdapters.ContractToViewAdapter(_remoteProcess.RemotePlugin.Contract);
WindowInteropabilityHelper.SetWindowInteropabilityAdapter(View,
new
WindowInteropabilityAdapter(App.Current.MainWindow));
//or App.Current.MainWindow.FindChildByType<ContentPresenter>()
Host Main Window xaml
<
Window
>
<
AdornerDecorator
>
<
DockPanel
>
<
ContentPresenter
Content
=
"{Binding PluginService.SelectedPlugin.View}"
/>
</
DockPanel
>
</
AdornerDecorator
>
</
Window
>
I also tried to look at OnPreviewShowCompass(PreviewShowCompassEventArgs args) on child process RadDocking, because I can track main app to know that it was moved to the other screen, I'm able to have screen handle and screen dimensions, but I have no clue how to correct Compass placement even with all that information.
Is there anything I got missing, done wrong or could change to make it work as expected?