WPF Listview允许拖放按钮 [英] WPF listview allow drag and drop buttons

查看:125
本文介绍了WPF Listview允许拖放按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好.
我在列表视图中找不到带有拖放按钮的工作示例.可能吗?标签工作正常,但是我需要Click事件,所以我猜按钮会更好.有人在listview/wrapPanel或任何其他控件上拖放按钮时有工作示例吗?)
感谢您提供任何答案!

Hello.
I cannot find working example with drag and drop buttons in listview. Is it even possible? Labels works fine, but i need Click event so buttons will be better i guess. Does anybody have working example with button drag and drop on listview/wrapPanel or any other control?;)
Thanks for any answers!

推荐答案

http: //stackstackflow.com/questions/4921046/wpf-listview-with-button [ WPF中的MVVM模式:面向绝对初学者的简单教程 [
http://stackoverflow.com/questions/4921046/wpf-listview-with-button[^]

to get you started. You should start to look into using the MVVM pattern.

MVVM Pattern in WPF: A Simple Tutorial for Absolute Beginners[^]

I do have to add that using the MVVM pattern has quite a steep learning curve..


这篇关于WPF Listview允许拖放按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆