Betsy
Betsy

Reputation: 51

wpf using a windows form

I have a windows form that handles drag and drop of images just fine.Because I cannot find a way to do this in WPF can I add the form to a page and will the drag and drop still work? The images being dragged are from outside of app. Thanks, Betsy

Upvotes: 0

Views: 160

Answers (1)

Bas
Bas

Reputation: 27095

You can use a WindowsFormsHost in WPF to host Windows Forms controls. This will meet your requirements. Otherwise, take a look at Drag & Drop in WPF. This is fairly easy to implement.

Upvotes: 1

Related Questions