简体   繁体   中英

How to get the Text from a DataGrid cell c# wpf

我要复制的内容

Hi, I have to create this on Visual Studio with c# on application WPF. The data came from a file. I know how to extract the data and put it in the DataGrid, but I absolutely don't know how to get the value of the cell... For example I want to get the "1.3" when the user changed the value of the cell.

我做了什么

you can use CellEditEnding Event of datagrid. When the user changes the value in a cell, the event will be fired

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM