I have an app that will have many floatable windows. If the user docks a bunch of them together, can I customize the way the tabs appear for each window. I would like to have them form rows of tabs so that all of the tabs are visable. Is this possible?
Thanks
You may have to retemplate the TabGroupPane since the default style is setup to provide scrolling based on a single row of tabs but other than that it should work. The default styles are shipped with the product in the DefaultStyles folder so you can use that as the basis for your retemplating.
How can you get this same behavior when they are all docked in the main control? If I try to do it they are squish up and you cannot read the tabs
You can create a style for the TabGroupPane and set its ItemsPanel to a panel that will provide a multi row arrangement.
Then you'll have to hook the ToolWindowLoaded event and put this Style into the Resources of the ToolWindow. e.g.
Note, this provides a local style that will take precedence over any style for TabGroupPane that would have come from the Theme property. Currently the only Style defined for the TabGroupPane is in the generic theme so this won't be a problem now but I thought it should be mentioned since that could theoretically happen in the future.