wpftabpaneldockable

How to Create a Dockable Tab like IE9 or chrome


i want to implement a UI look like IE9 or chrome.

i like the dockable tab,it can be dragged out into a new window.

and the window can also be put into as a tab.

is anyone can give me an idea how to implement it, or a library,or an example?

thank you .

AvalonDock is very good, but not quite like I wanted.


Solution

  • Shell 
    {
        List<Content> Contents
    }
    
    1. Drag: use PopUp/adorn/visualbrush to create a content thumbnail.
    2. Drop: if out of the parent shell, creat a new shell, and add the drag-content to the Contents List.remove it from origin parent shell.