Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Supporting drag/drop to open files when tool window/document is implemented in WPF

$
0
0

When the document well is empty, or the document well has the source code editor open, etc, I can drag/drop a file from Explorer, drop it in the document well area, and the file opens in Visual Studio.  However if I have my own document (implemented in WPF) open and I drag/drop from Explorer, it doesn't open; I have to drop on a different part of Visual Studio to open the file.

What do I need to do in my view to support this?  Do I need to handle the drag/drop event and call Visual Studio to open the file?  Or is there a way I can let Visual Studio handle the drop?  Thanks.


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>