Blazor DataGrid Conditional Formatting

I’m trying to conditionally format each row of the DataGrid depending on the values on the row.

I followed the example, but it did not work when the row is in “edit” mode.

Is there a way to conditionally format a row that is in edit mode?