VijayKamat-1860 avatar image
0 Votes"
VijayKamat-1860 asked VijayKamat-1860 commented

How do I bring my UserControl (or whatever control is suitable) out of the Main Window and drag it around?


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.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

The second monitor is the window of another project?

0 Votes 0 ·

We have dual monitor systems, so its just another extended monitor.
If we can drag the dialog out of the window it should work just fine.

0 Votes 0 ·

0 Answers