3

I am creating a demo project in wpf application I am also using DevExpress GridControl in this application my problem is that I want get the cell value in on click particular cell.

4

1 回答 1

2

我认为你应该看看HitInfo课堂。

试试这个链接

GridHitInfo hitInfo = gridView1.CalcHitInfo(new Point(e.X, e.Y));
if(hitInfo.InRowCell){
    object value = View.GetRowCellValue(hitInfo.RowHandle, hitInfo.Column);
    //...
}
于 2013-07-24T15:17:41.063 回答