views:

153

answers:

0

Hi Guys,

Is there any way so that we can provide style to the Selected Row in DataGrid (SilverLight). I am able to handle SelectionChanged() even but there I found SelectedItem (BusinessObject) not Row so that I could provided it required backcolor/Forecolor.

I tried to achieve it by binding RowBackColor property of DataGrid with a converter but I am loadind grid Async, hence it doesn't work. (Data loads after styles are loaded).

I have searched complete net but not able to find any solution for the same. Even if I could be able to find the particular selected Row (UIElement) in SelectionChanged event handler, I think I would be able to get it resolved.

Please let me know your thoughts and suggestions.

thanks in Advance.