In the event handler of RecordExpanding, how do I get first cell's value?
Thanks!
Hello,
Have you tried :
(e.Record as DataRecord).Cells[0].Value
Alex.
Thanks Alex, but I got Error 1 'System.Windows.RoutedEventArgs' does not contain a definition for 'Record' and no extension method 'Record' accepting a first argument of type 'System.Windows.RoutedEventArgs' could be found (are you missing a using directive or an assembly reference?) C:\download\testColorLine\testColorLine\testColorLine\Window1.xaml.cs 70 25 testColorLineprivate
void expandingHandle(object sender, RoutedEventArgs e) { var xx = (e.Record as DataRecord).Cells[0];}Steve