0

I am following an Avalondock-example on github:

https://github.com/8/AvalonDockMVVM

It works well, but I want the possibility to dock in more than one direction. Can anyone explain how this can be done?

I'll add a couple of images as an example of what I mean:

Sample Image

What I want is to let the user place windows both in the left/right-direction and in the up/down-direction. Can anybody please point me in the right direction? Any ideas are appreciated!

Barry Michael Doyle
  • 9,333
  • 30
  • 83
  • 143
Thomas D. Frøysa
  • 692
  • 1
  • 8
  • 26

1 Answers1

2

Have you tried setting the AllowMixedOrientation Property ?

<xcad:DockingManager 
   Grid.Row="1“ 
   MaxHeight="425" 
   AllowMixedOrientation="True" 
   BorderBrush="Black" 
   BorderThickness="1">
<!--your Code-->
</xcad:DockingManager 

Found here: Wpf Toolkit on Codeplex

Michael Wirth
  • 36
  • 1
  • 4