How to change a VisualState based on a property value on WP7?
Im trying to use MVVM pattern and when my model is loading I want my view to go to especific VisualState.
In Silverlight we have triggers for property changes but in WP7 not!
PS: I dont want to use frameworks I want to understand how it is done in WP7.
I use the following attached behavior:
In your view model, expose a property for the current visual state, and then on the visual element that you want to handle the visual state for you use the following to bind the visual state, for example