在数据网格中选择一个单元格 [英] Selection of a cell in datagrid

查看:59
本文介绍了在数据网格中选择一个单元格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨我有一张桌子,我的行和列标题都有标题中的单选按钮元素类型。

从行和列中选择特定的单选按钮我希望相交的单元格项目是在wpf中使用MVVM选择。

Hi I have a table were i have row and column header with type of radio button elements in header.
On selection of particular radio buttons from row and column I want the intersected cell item to be selected using MVVM in wpf.

推荐答案

您可以在更改单选按钮单击事件的值时更新该数据源的绑定列的值,然后刷新该控件以便您获得该列的所有选定行。
You can update value of that binded column of datasource on changing value of radio button click event and then refresh that control so you will get all selected rows of that column.


这篇关于在数据网格中选择一个单元格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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