Home › Forums › WinForms controls › Xceed Grid for WinForms › Accessing underlying object in bound grid
If I have a grid that is bound to a list, say:
general idea of code:
List<Foobar> _List = new List<Foobar>();_List.Add(new Foobar());
Now, I have an event fires on Cell DoubleClick.
In that event, I have access to the Cell and the Parent row, is there any way to get at the underlying data object to which it is bound?
Imported from legacy forums. Posted by greenkiwi (had 1906 views)
SourceObject does the trick… I must be blind.
Imported from legacy forums. Posted by greenkiwi (had 2817 views)