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
610
Whats is the opposite event of RequestBringIntoView ?
posted

Hi,

What is the opposite event of RequestBringIntoView in XamDockManager Pane?

I want to handle the event when the user set focus of other pane.

Thanks,

Guy.

Parents
No Data
Reply
  • 54937
    Offline posted

    RequestBringIntoView is a WPF framework bubble event used so that ancestor elements can ensure the specified area of the specified element is visible so I'm not sure what you mean by the opposite of that. With regards to finding out when focus goes to another pane you can either still listen to the ActivePaneChanged and just act when your pane is the e.OldPane (and potentially e.NewPane is non-null as it can go to null when focus goes to a control outside of a pane or to another window or app) or you can handle LostKeyboardFocus but you'll probably need to do this asynchronously in case focus is changing because the pane is being moved, etc.

Children
No Data