Hi,
I am using DockableControlPane and displaying it as floating in the WinForm say Form1
This Form1 is used in the WPF application using System.Windows.Forms.Integration.WindowsFormsHost.
I am navigating from Form1 to Form2 using System.Windows.Navigation.NavigationService after the Form2 is closed again I am navigating to back using NavigationService.GoBack().
But when I come back to Form1 the DockableControlPane which is in floating mode goes invisible and its closed property is false.
Hello,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this issue?
Thank you for using Infragistics Components.
Hello ,
You could call this methods manually, when you came back through NavigationService. When you host a Windows Forms controls in WPF, you should keep in mind that you will meet some limitations caused by the different way on which both platforms work. For more information please review the following links:
http://social.msdn.microsoft.com/forums/en-US/wpf/thread/85c6b75a-164f-4519-bea3-b8790f1601fb
http://blogs.msdn.com/b/scoberry/archive/2006/09/01/735844.aspx
One of the limitation is the “Focus”, which I believe is the main reason for your issue. Please nothe the “Focus” section in the second link.
Please let me know if you have any further questions.
SuspendLayout() ResumeLayout() didn't solve the problem.
These events were not fired if we came back through NavigationService.
But this is not the solution its the workaround.
I just wanted to know if you were able to solve your issue based on my suggestions or you still need help? Just let me know.
Thank you.
Thank you for the provided sample. I have made some tests and I have discovered that actually the floating pane is covered with the browser , so what you could do in this case is execute your code for showing floating window in SuspendLayout() ResumeLayout() bloc or to call ultraDockManager1.ShowAll(); method in order to display and bring to front the floating panes.