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.

See Also

In this article
Not finding the help you need? Improve this article