I want to allow a target for a ListBoxDragDropTar开发者_如何学JAVAget ListBox.
The problem is that I have four ListBox but each pair can do a drop on another one, but no on the another one, I mean, 1 can drop on 2, 3 can drop on 4, but 3 can't drop on 2 or 1.
How can I do this? help!
RoutedEventArguments has OriginalSource which you can use to check who originally generated that event then you can simply set the DragEventArgs.Handled property to true to end the Dragging.
加载中,请稍侯......
精彩评论