WPF Drag And Drop DataBinding?

All you need to do is set AllowDrop to True and handle the Drop event.

All you need to do is set AllowDrop to True and handle the Drop event. The ListBox definition: The event handler: private void ListBox_Drop(object sender, DragEventArgs e) { if (e.Data. GetDataPresent("FileName")) { string folderPath = e.Data.

GetData("FileName"); //do whatever you need to do with the folder path } }.

1 I'd go with this. There is such a thing as wanting to bind too badly when one or two lines of code would suffice. – Vincent Vancalbergh Mar 22 at 9:01.

I've used Gong Solutions Drag and Drop successfully in the past, it's a very easy DLL to use. You can see a small sample of it here: Gong Solutions.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions