I'm working on a WPF application, which I would like to be able to have a user drag the main window, and it will Dock when it approaches the end of the screen.
Is there a way to do this?
I'm working on a WPF application, which I would like to be able to have a user drag the main window, and it will Dock when it approaches the end of the screen.
Is there a way to do this?
Here's a similar thing implemented as AttachedBehaviors:
http://codeblitz.wordpress.com/2009/07/07/wpf-window-dock-behavior/
I'm not sure how production-ready it is though.