WPF Intra-App Drag Drop

I wanted to learn about drag and drop to a WPF application so I created this little demo. It's a simple app that accepts jpeg images and will display them when you drag files from windows explorer or photo gallery.  It also shows a copy DragDropEffect and a nsupported effect whether the files are supported or not.

This msdn help article explains more about Drag and Drop support in WPF.

Drag Drop Media

Source: http://blogs.vertigosoftware.com/files/alan/dragdropmedia.zip

posted on Thursday, November 30, 2006 1:17 PM by AlanL

Comments

# re: WPF Intra-App Drag Drop

Sunday, July 29, 2007 1:00 AM by dtryon
Thanks AlanL,
This is a great example!

# re: WPF Intra-App Drag Drop

Friday, December 14, 2007 7:46 PM by Mark
Excellent! Thank you for posting this, it was exactly what I was looking for.

# re: WPF Intra-App Drag Drop

Thursday, March 06, 2008 3:28 PM by alain
great article... may i know how do i save the pictures in sqlserver after i drag in the pictures?

# re: WPF Intra-App Drag Drop

Monday, June 02, 2008 8:02 AM by David Ching
Nice article, but your title confused me. "Intra-app" means "within the same app" and this is about 2 separate apps... the correct title is "Inter-app". OK, call me anal! ;)