更新时间:2023-01-25 21:41:15
此讨论 [ ^ ]可以帮助你。
哇,根据http://social.msdn.microsoft.com/Forums/en/wpf/thread/74332b78-6bfd-4ac9 -af85-dfd9bec87a29 [ ^ ],这不是应该的那么简单。
Colin Eberhardt在WPF数据网格上写了一篇很好的文章WPF DataGrid实际示例 [ ^ ] - 我会在直接使用单元格之前查看数据绑定。
***的问候
Espen Harlinn
Hey all,
In my WPF application I have a datagrid and now I want to get the value of a cell.
I have tried dozens of possible solutions but none of them are working.
Can you guys help me out?
Greetz, A
This discussion[^] could help you out.
Wow, according to http://social.msdn.microsoft.com/Forums/en/wpf/thread/74332b78-6bfd-4ac9-af85-dfd9bec87a29[^], that's not as trivial as it should be.
Colin Eberhardt did a nice article on the WPF datagrid WPF DataGrid Practical Examples[^] - I would certainly look at databinding before working directly with the cells.
Best regards
Espen Harlinn