Hi,
If there are many tabs which go beyond the visible area in the screen, they are grouped together and we can select them through the arrow buttons. Is it possible to change them and show them in visual studio style so that instead of browsing through the tabs I can see them in a list and select them?
Hello arpita,
Thank you for your response. I am glad that you resolved your issue.
This helped me and thanks for the comments !
Hi arpita,
The x button in the far right corner can be collapsed by setting the ControlTemplate. The DataTemplate is used only to show the x button in the pane near its name. If you need the x button in the active menu to disappear, you need to add a DataTrigger which searches the visual tree for the menu and sets the close button visibility to Collapsed.
I added a DataTrigger and some comments to the sample I attached. Please let me know if my suggestion is helpful.
Actually with the data template I now get the x button in each document pane and that is what I wanted. I was referring to the x button to the far right corner, which is not hidden. And in order to hide it a separate content template is required? Setting the Closebuttonvisibility doesn't seem to have an affect on that.
Also, after setting the data template the style for the menu item gets changed (the menu list for App.xaml, Start Page etc. in the image). How can we reset it to the aero theme (or any other style like the style applied in the below feature browser one)?
You need to use a data template so that you can make visible the x button in the ContentPane when it is placed in a DocumentContentHost. If it is not in a DocumentContentHost, it is possible to set the CloseButtonVisibility property of the ContentPane to "Visible" and this will show the button.
I hope this will help.