3

I am currently working on an application with a tabbed interface. I want to be able to split the workspace horizontally or vertically by dragging a tab to one edge of the window.

For example, open two tabs: http://666kb.com/i/b65vvbusbxhvgy8mf.png

Then drag one tab to the bottom of the screen and drop it. A second tabcontrol should appear: http://666kb.com/i/b65vvjnd1ylz54jdz.png

How can I achieve that with C# and WPF in .NET 3.5?
I think Photoshop does that and I'm sure many other applications too.

Christian Hubmann
  • 1,502
  • 3
  • 17
  • 21

3 Answers3

7

check out AvalonDock, maybe this can help you to get into the right direction.

Joachim Kerschbaumer
  • 9,695
  • 7
  • 49
  • 84
1

The Actipro tabbed workspace control is very elegant and I haven't seen any bugs myself.

Robert
  • 535
  • 3
  • 5
0

There's a few libraries out there for this. Other than AvalonDock, there's Sand Dock and Infragistics WPF Controls. I've used both. Both have had their share of bugs. At this point I am using the Infragistics controls and they're getting better in every release.

Szymon Rozga
  • 17,971
  • 7
  • 53
  • 66
  • Thanks! I think I'll stay with AvalonDock, looks good so far and it's free :) – Christian Hubmann Feb 05 '09 at 16:10
  • I'm using the Infragistics one but I'm not very impressed. It's expensive to purchase a license just for the dock, and it's somewhat complicated. They also don't support Composite WPF applications very well either--their NetAdvantage for Composite Application Library hasn't been updated in a year. – sourcenouveau Feb 05 '10 at 03:59