Well, if DataTriggers no longer works in Silverlight and Windows 8, can someone tell me how to replace this feature?
For instance:
In a ListView or GridView element, if the element has an x value,
if x == "True"
StackPanel style= "MakeBackgroundGreen"
else
StackPanel style="MakeBackgroundRed"
Is there a way to create something similar in Metro style in Windows 8 style using XAML and C # (preferred C #, but any language will do).
I heard some people mention using VSM (Visual State Manager), how can I do this?
Thank you very much in advance.
source
share