How do I bring my UserControl (or whatever control is suitable) out of the Main Window and drag it around?
Vijay Kamat
1
Reputation point
Hi,
I am working on a project where I need to have a panel which can be dragged around and should not be restricted by the Window bounds.
User should be able to drag it right out of the main window and onto a second monitor if he chooses it.
When it gets closerto the MainWindow's border/edge it should dock in its place.
I cant use any third party controls or tools so I have write this on my own.
Will Adorner do this?
How can I achieve this?
Thank you.