Hello!
I have a gridview where i can select a row and click a button to start an action.
I want to indicate which row that has a been executed, with a change in the color background on a given cell in the row selected.
I have tried the following and it works, but the color disapears when you scroll and the row comes out of range.
GridView.CurrentCell.ParentRow.Cells.Where(x => x.Column.Header.Equals("ID")).FirstOrDefault().Background = (SolidColorBrush)Background;
please help
I have a gridview where i can select a row and click a button to start an action.
I want to indicate which row that has a been executed, with a change in the color background on a given cell in the row selected.
I have tried the following and it works, but the color disapears when you scroll and the row comes out of range.
GridView.CurrentCell.ParentRow.Cells.Where(x => x.Column.Header.Equals("ID")).FirstOrDefault().Background = (SolidColorBrush)Background;
please help