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!
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.
Hi Duane, thanks for your reply.Using MVVM, this doesn't work, as this is definitely code behind. I forgot perhaps to say that.Also using the NCAL library for PRISM.
Is this possible through MVVM + PRISM (NCAL)?Thank you!
This is just a follow up if you have any questions on the xamDockManager and if you require any further assistance with this thread.
Your solution doesn't use PRISM. You're doing if straight off from CODE BEHIND.I'd appreciate the MVVM + PRISM version.Do you have an Idea?
Not bad, already in the right direction. However my version of NCAL uses proxies... so I guess I will have to modify the NCAL library to integrate the feature as it seems it hasn't been done and NCAL is not supported anymore. A bit disappointing to be honest.Thanks for your time.
There was a verified post previously on NCAL XamDockManager TabFocus that can be found here: http://forums.infragistics.com/forums/p/48807/259462.aspx#259462.
This is just a follow up if you have any questions on the xamDockManager control and if you require any further assistance with this thread.
When using Prism and NCAL is separate from xamDockManager control. For setting the active pane is within the Activate() method of the ContentPane class.