I've noticed that the autohide behavior is different between the Win and WPF versions of the Dock Manager. In the WinForms version, if I click on a control outside of an unpinned content pane, the content pane will autohide (fly in). This does not seem to be the case in the WPF version. If I have a Content Pane that has focus, but is unpinned, if I click on a control outside of the content pane, it will not auto hide. In fact, I can't seem to make it auto hide unless I toggle on the pin of the content pane. Is there any way for me to change the auto hide behavior of the WPF XamDockManager to work the same way as the UltraWinDock version?
Hello Akarsha,
For the unpinned pane it has to lose focus for it to fly in. That includes controls that are inside the pane, if one of them has focus it will keep the pane open. You can make it lose focus by click on something outside the pane. If you want to do it without clicking you could handle the MouseLeave event of the content pane and set focus to something else in code:
private void ContentPane_MouseLeave(object sender, MouseEventArgs e) { Button1.Focus(); }
Hi Julie, i have the same issue with my application. All the panes auto hides except the one with Tab Control which has two tab items in it and the tab items has grid with couple of rows and columns.
Please help if you have found a solution to this or a way around.
Thanks.
Hello jnyikos,
I am just checking if you require any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Maybe your doing something within your control to cause it to close up?