Edit Row from Double Click Event

I want to edit the record for a row only when the row is double-clicked instead of selected, so I tried to configure the RowDoubleClick event the same way that the RowSelect event is configured. Now my project gets this compile error:

error CS1061: 'DataGridRowMouseEventArgs' does not contain a definition for 'TaskKey' and no accessible extension method 'TaskKey' accepting a first argument of type 'DataGridRowMouseEventArgs' could be found (are you missing a using directive or an assembly reference?)

Am I doing something wrong, or are we not able to send the row key in a double-click event?

Hi @GallusRoboticus,

You should use ${event.Data.TaskKey}

1 Like