문제

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.

도움이 되었습니까?

해결책

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);
    //...
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top