I created my own control that extends content management. Inside this, I have a model of parts and states that works fine.
Then I use this as the root of my xaml (placing code in the templates folder in Blend)
Everything works fine, I can open a new "DaveControl" and get the necessary functions.
However, if I then add some visual states here, such as alertOnScreen, and try using the visualstatemanager, this will not work.
infact no conditions listed.
The behavior in the SL3 GotoVisualState works great though!
How can I make the visual state work in code?
source
share