I bet you guys know Google Chrome browser, yeah it comes from Chromium open-source projects, added some Google specific features.
I found the multi-tab GUI is quite attractive, especially the “drag-and-drop” feature for tabs and windows:
- to “pull a tab” out to form a separate window, or
- vice versa, to join a tab into a windows (that has a collection of tabs).
This would be quite helpful for designing some multi-process applications to achieve the stability, and a cool user experience, but … how?
- is it possible to do this in WPF?
- or even one step more, is it possible to do this in MVVM?
Yeah, technically, everything is possible, but I can’t see an easy pattern to do this
- for WPF, how to handle such specific “crossing window” mouse interaction?
- for MVVM, hmmm, will this be too challenging for MVVM?
cheers
Its definitely possible. I’ve recreated the chrome tab look in the past with MVVM, complete with drag and drop, and I know another guy who created a tabbed application that lets you “pull away” tabs into a new window of its own. I believe it was all one application with multiple windows, so all open windows were part of the same application even if they show up separately in the task bar.
I’m not sure if I have his source code or not, I’d have to go digging for it.