Silverlight DataGrid how to get cell value from a selected item?

后端 未结 4 1981
孤街浪徒
孤街浪徒 2021-01-13 23:50

I am trying to get a cell value from the selected item of a silverlight datagrid. In the attached code I can get to the properties of the cell and change its forecolor, but

4条回答
  •  旧巷少年郎
    2021-01-14 00:45

    Try cell.Content

    http://msdn.microsoft.com/en-us/library/system.windows.controls.contentcontrol.aspx

提交回复
热议问题