摘要: tabcontrol 内的一个tabitem里是datagrid 当程序相应datagrid的selectionchanged事件后会向上传递到tabcontrol的selectionchanged事件 此时在selectionchanged里面添加 e.handle=true 中断事件传递。 Co 阅读全文
posted @ 2019-10-12 13:34 猝不及防 阅读(610) 评论(0) 推荐(0) 编辑
摘要: 例如: listview 绑定了一个windows.datacontext.一个集合,那么其中一个item想绑定windows.datacontext.A属性怎么办; 通过查找祖先的方法: 阅读全文
posted @ 2019-10-12 13:32 猝不及防 阅读(263) 评论(0) 推荐(0) 编辑