Hello All!
In this 12 minute video I show you how to create a Visual State Group with Visual States, then I show how to add a Condition to the GotoStateAction Behavior by making a Data Store and adding a Boolean Property. I then show how to use the SetDataStoreValueAction to change the value of the new property . The value of this property determines if the Visual State can fire.
Topics covered:
1. The Visual State Group and Visual States;
2. The GotoStateAction Behavior to fire a Visual State;
3. Creating a Condition for the GotoState Action;
4. Creating a Data Store and adding a Boolean property;
5. DataBinding the value of the new Boolean property to a TextBlock;
6. Changing the value of the new Boolean property using the SetDataStoreValue Action Behavior.
2. The GotoStateAction Behavior to fire a Visual State;
3. Creating a Condition for the GotoState Action;
4. Creating a Data Store and adding a Boolean property;
5. DataBinding the value of the new Boolean property to a TextBlock;
6. Changing the value of the new Boolean property using the SetDataStoreValue Action Behavior.
Its a lot to cover in 12 minutes but its pretty simple once you see it done, and I do it all without leaving Blend!
Enjoy! Victor
February 22nd, 2011 on 2:52 am