Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
470
XamDockManager auto hide behaves differently from WinDockManager
posted

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?

Parents
  • 54937
    Offline posted

    Actually in both cases if the unpinned pane is active (i.e. it has the input focus) then clicking somewhere else in the application would not necessarily cause the flyout to close. That would only happen if you gave focus to something else. I suspect that in the winforms case you were clicking on a control that took focus (e.g. usercontrol, textbox, etc.) but in this case you're not clicking on something that takes the keyboard focus. If it is taking the keyboard focus and still not closing then please submit a sample that demonstrates the issue and we can look into it further.

Reply Children