Thursday, January 30, 2014

data bound visual cue

I want to set the background color of a listview item based on a property of the data binding class. The property changes dynamically. For instance, the list is of songs, the currently playing song needs to have a different background color. I found the following on stackoverflow:


http://ift.tt/19lBDVm


This appears to demonstrates the effect I required, except that it doesn't work in Windows Store App because it uses Triggers, not VSM. Is there an equivalent to this in VSM?


Thanks


No comments:

Post a Comment