I will have a menuitem shows "View->Tab1, Tab2, Tab3, All", if the user click View->Tab1, the ContentPane 1 should be show even if it is closed. and View All should restore all tabs in original order. I tried Activate() and BringIntoView(), neither worked.
Do you have an example to do this?
Thanks,
Joan
Hi Joan,
I have been looking into your requirement and if you have your ContentPane’s CloseAction set to HidePane (which is the default setting) you can do this by setting the Visibility property to Visible after the pane has been closed. I have attached a small sample project for you (DockManager_showing_closed_Panes.zip)
Please let me know, if I can be of any further assistance on the matter.
I have more questions. If I have 5 tabs in order, I want to restore the tabs in the original order (put them in the tab container too). how to achieve ths?
Hello Joan,
I am just checking if you got this worked out, or you still require any assistance, or clarification on the matter.
If this is what you were looking for please verify the answer so it helps other users as well.
For this you can use the XamDockManager’s save load layouts functionality as shown here: http://help.infragistics.com/NetAdvantage/WPF/2012.2/CLR4.0/?page=xamDockManager_End_User_Settings.html and in the Samples Browser under “Loading and Saving Layouts”.
Please let me know, if you require any further clarification on the matter.