Hi,
how to chnage of the row backround color on CellEnteredEditMode event
Hi ,
Thanks It's Working Fine..........
Hello,
I am just checking if you require any further assistance on the matter.
Hello Rejesh,
Thank you for your feedback. In order to achieve the desired functionality I can suggest you define two styles for the CellControl and to change them when the row enters and leaves edit mode.
I am attaching a sample application that shows this approach(XamGridSelectedRow.zip)
Let me know, if you need any further assistance on this matter.
Thanks for your Reply , i want complete row Color has to be changed , in my case some part of grid is ediatble grid and remaining is non editable grid
i have tried below code only row border color is getting changed ....please suggest me where im going wrong
RowBase rate = e.Cell.Row;rate.Control.Background = new SolidColorBrush(Colors.Green);
Hello Rajesh,
I have been looking into your question and the easiest way to change the background of row in edit mode is to set a background for the editor in the cells like e.g. :
private void xamGrid1_CellEnteredEditMode(object sender, EditingCellEventArgs e)
{
(e.Editor as TextBox).Background = new SolidColorBrush(Colors.Red);
}