I have a Window that uses the Xam Dock Manager - I have 4 Content Panes in a tab group to the right and two Content Panes in my DocumentContentHost. When I select a tab from my Content Pane tag group, I would like for one of the DocumentContentHost Content Panes to become visible and active. I essentially want to repeat this action for the other Content Pane tabs in my tab group of 4.
This worked, thanks. I had to add this line of code, because my DocumentContentHost are collapsed by default.
cpInDocs1.Visibility = System.Windows.Visibility.Visible;
Hello Mike,
I have been looking into your requirements and I believe what you need to do in order to achieve the desired behavior is subscribing to the TabGroupPane’s SelectionChanged event and based on the selected tab activate the document (a pane in DocumentContentHost) you need. In the sample application I am attaching for your reference, I activate the first document if one of the first 2 tabs are selected, and the second document – if one of the two second tabs is selected.
If you have any further questions on this matter, please do not hesitate to let us know.