Pergunta

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.

Foi útil?

Solução

I think you should look at the HitInfo class.

Try this link.

GridHitInfo hitInfo = gridView1.CalcHitInfo(new Point(e.X, e.Y));
if(hitInfo.InRowCell){
    object value = View.GetRowCellValue(hitInfo.RowHandle, hitInfo.Column);
    //...
}
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top