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
640
Any way to explicitaly deactivate a ContentPane ?
posted

As part of the adapter I am coding, when a View is Deactivated I need to Deactivate the associated ContentPane.

I don't want closing the ContentPane (I am doing that when the View is removed), I would like to do something like xamDockManager.ActivePane=null (as the initial state of xamDockManager). But that property is readOnly. 

Any thoughts ?

Thanks,
Claudio.

Parents
No Data
Reply
  • 54937
    Offline posted

    The ActivePane is tied to the Keyboard.FocusedElement - if focus is within the pane then it is considered active. If you want something else to be active then you need to shift the keyboard focus elsewhere - i.e. use the Focus or MoveFocus method of some other element.

Children