How would we go about implementing a maximize button or functionality on a Toolwindow of the DockingManager?
The reason is the wish to use more than one monitor.
The ToolWindow doesn't support being maximized. I'm not sure what maximizing has to do with multiple monitors though. When used in a windows application (i.e. non-xbap) then the floating windows are hosted in top level windows so they can be dragged to different monitors. When used in an xbap then the floating windows have to be children of the browser window.
First of all, we are developing a windows application (non-xbap).
When a window is dragged to a second monitor, it would be nice to be able to fill the entire surface of that second monitor.
The standard behaviour of Toolwindows is to maximize on double click on the title bar. Why does the ToolWindowHostWindow not support the same functionality?
I would recommend submitting a suggestion for adding that functionality.
Visual Studio 2010 now has the maximize capabilities. I think it is a bad idea to not do something because it can't be done in an XBAP. Maximizing the tool window is an important feature in my opinion.
The ToolWindow was designed to act as an owned window similar to that of the toolwindows in VS which does not support maximizing. Also, the toolwindow has to be consistent and usable regardless of whether its hosted in an xbap or windows application. If we were to support maximizing in an xbap then it would cover the content of the browser/main control. If we were to host the toolwindow in a popup we wouldn't be able to maximize either as it restricts its size to a percentage of the window.