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
215
NCAL + XamDockManager + ActivePane
posted

Hello,

I'm using the XamDockManager along with the NCAL library for my prism application.
Upon adding a pane into my dockmanager splitpane, I want to make that pane the active one so it appears.

How can I do that?

Thank you!

Parents
  • 12004
    posted

    Hello pythagorus,

    For making the content pane active you can use the Activate() method. E.g.:

    IEnumerable<ContentPane> contentPanes = xamDockManager1.GetPanes(PaneNavigationOrder.ActivationOrder);
    ContentPane pane = contentPanes.First();
    pane.Activate();

    Let me know if you have any questions with this matter. Thank you.

Reply Children