Okay, if DataTriggers don't work anymore in Silverlight and Windows 8, could anyone tell me how to replace this feature?
For example;
In a ListView or GridView, if an item has a value x,
if x == "True"
StackPanel style= "MakeBackgroundGreen"
else
StackPanel style="MakeBackgroundRed"
Is there a way to create something like this in Windows 8 metro style app using XAML and C# (preferred C# but any language will do).
I've heard some people mention use VSM (Visual State Manager), how can I do this?
Thanks a lot in advance.