Friday, June 25, 2010

Expression Blend 4: Conditional Behaviors & Data Store

You can now build conditional logic without the need to write code. In addition, different parts of your application can communicate via data store without writing any code, too!

When you fill user and password fields and click Login button in my sample application, user name and authentication info are written to Data Store, main menu and Home page with logged user name are displayed.

01_ConBehDataStore_03 01_ConBehDataStore_06

New SetDataStoreValueAction writes the value of a property to Data Store and optionally animates the change over time.

01_ConBehDataStore_02

Using Data panel you can manage the Data Store and its properties.

01_ConBehDataStore_01

New DataStoreChangeTrigger fires when a specified property in the Data Store changes.

01_ConBehDataStore_04

You can drag a property from the DataStore onto the art board.

01_ConBehDataStore_05 - Mod

Useful links

1 comment:

張怡 said...

在莫非定律中有項笨蛋定律:「一個組織中的笨蛋,恆大於等於三分之二。」......................................................................