开发者

ListBoxDragDropTarget set Target

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜