How can I change the foreground and background of a row when the mouse is over the row?
1 Answer, 1 is accepted
answered on 05 Dec 2013, 04:05 PM
If you want to modify the appearance of the selected row, you can predefine its template. There you should modify the Border element named Background_Selected in the way you need. I can suggest you to check this help article for a reference.
If you want to change GridViewCells foreground when its parent row is hovered/selected you should predefine the template of GridViewRow and access DataCellsPresenter. You should add an additional animation to the default hover/selection states of a row and manipulate the Foreground property of DataCellsPresenter, as follows:
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>