How do you bring the newly added ContentPane to front ( Make visible ) in DockManager. The code below adds to group, but I have to click the tab in order to see.
Also, not sure if this is the most appropriate way to add content to new panes?
// Setup Frame for UI navigation.
Frame frameTest = new Frame();
frameTest.NavigationUIVisibility = NavigationUIVisibility.Hidden;
// Page to add.
Page myPage = new Page();
frameTest.NavigationService.Navigate(myPage);
// Setup Content Pane to add.
ContentPane contentPaneTest = new ContentPane();
contentPaneTest.Header = "My Test Pane";
contentPaneTest.Content = frameTest;
tabgrouppaneTest.Items.Add(contentPaneTest);
contentPaneTest.Name = "cpTest";
BringIntoView did the trick. Thanks
shaggygi said:How do you bring the newly added ContentPane to front ( Make visible ) in DockManager. The code below adds to group, but I have to click the tab in order to see.
shaggygi said:Also, not sure if this is the most appropriate way to add content to new panes?