---
title: "How to get particular cell value in DevExpress GridControl using wpf"  
description: "How to get particular cell value in DevExpress GridControl using wpf"  
author: "Anonymous User"  
published: 2013-08-08  
updated: 2013-08-09  
canonical: https://www.mindstick.com/forum/1360/how-to-get-particular-cell-value-in-devexpress-gridcontrol-using-wpf  
category: "wpf"  
tags: ["wpf"]  
reading_time: 1 minute  

---

# How to get particular cell value in DevExpress GridControl using wpf

How to get particular [cell value](https://www.mindstick.com/forum/33654/send-table-view-cell-value-on-button-action-in-ios) in [DevExpress](https://www.mindstick.com/forum/34326/fill-devexpress-gridview-with-list) GridControl using [wpf](https://www.mindstick.com/forum/304/wpf)

## Replies

### Reply by shreesh chandra shukla

Hi!

You can write below code under the PreviewMouseLeftButtonUp event.

TableViewHitInfo hit= tableView1.CalcHitInfo(e.OriginalSource as DependencyObject);

if(hit.InRowCell)\
{ \
var row=gridControl.GetFocusedRow();\
data _data=(data)row;\
if(hit.Column.FieldName==”Name”)\
{\
MessageBox.Show(_data.Name.ToString());\
}\
}

thanks.


---

Original Source: https://www.mindstick.com/forum/1360/how-to-get-particular-cell-value-in-devexpress-gridcontrol-using-wpf

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
