Skip to main content

Microsoft Silverlight

Answered Question Datagrid: Help to change DataGrid Row color on event!RSS Feed

(0)

rafaelFerreira
rafaelFe...

Member

Member

1 points

8 Posts

Datagrid: Help to change DataGrid Row color on event!

Hello, I'm trying to change the color of my selected row when I click in a button. But I can't find the property. I appreciated any help. Thanks.

"Death makes an artist..."

amyo
amyo

Contributor

Contributor

3630 points

495 Posts

Answered Question

Re: Datagrid: Help to change DataGrid Row color on event!

Check this post that might help you: http://www.silverlightshow.net/items/Changing-the-style-of-the-selected-row-of-the-DataGrid-control.aspx

In the button click you need to change the BackgroundRectangle of the DataGridRow style.

 

Hope this will help you.

Please Mark as Answer if this helps you.

Amyo Kabir
Solution Architect & Sr. Developer
Blog

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities