Edit this page

Modify foreground color of Selected/Hovered row

This help article explains how to modify the foreground color of TreeListViewRow on selecting it or hovering over it.

Every row shows a set of GridViewCells. In order to change the foreground of all the GridViewCells when their parent row is hovered/selected you should predefine the template of TreeListViewRow and access the part DataCellsPresenter. This element is a plain presenter used to display the cells contained in a row.

You should then add an additional animation to the default hover/selection states of a row and manipulate the Foreground property of PART_DataCellsPresenter.

For sample code you can check this article for RadGridView.

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article