Home Forums WinForms controls Xceed Grid for WinForms How to get cell value from selected row Reply To: How to get cell value from selected row

User (Old forums)
Member
Post count: 23064

Found the solution but it’s ULTRA COUNTER INTUITIVE: you need to cast the collection of  Xceed.Grid.Row selectedRows property output by a – most likeley – inherited class CellRow. Thus, answer is:

(Xceed.Grid.CellRow)gridControl1.SelectedRows[0].Cells[<field name>].Value

Imported from legacy forums. Posted by Frederic (had 476 views)