开发者

Drag and Drop image from a list box to a Content Control item

I have a list box of images and I want to be able to click and drag an image to a content control item and have it display the file path of the image for now. Does anyone know how I could implement t开发者_如何转开发his? I'm very new to WPF. Links to references would also be ok.


Unfortunately drag and drop in WPF is harder work than you'd like. I personally use the open source library http://code.google.com/p/gong-wpf-dragdrop/.

Or if you want to do more of the work yourself this article is a good place to start.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜