tgjones / gemini

Gemini is an IDE framework similar in concept to the Visual Studio Shell. It uses AvalonDock and has an MVVM architecture based on Caliburn Micro.
Other
1.1k stars 298 forks source link

Tile open document windows horizontally or vertically #289

Open PhilippPaetzold opened 6 years ago

PhilippPaetzold commented 6 years ago

Hi,

I would like to programmatically arrange open document windows evenly in horizontal or vertical direction. Is this possible? Under the hood I know that AvalonDock is used, but I am not sure how to access this functionality. I also need to distribute open documents evenly in XY-direction. It would be nice if there was some kind of service lets say IDockManager.Dock (IDocument target, IDocument source, DockPosition LEFT|RIGHT|TOP|BOTTOM) , that provided a nice abstraction of AvalonDock. But I am not sure how to implement it.

Help is greatly appreciated!

Thanks Philipp