Expression Studio 4.0

You can use the ChangePropertyAction behavior in a Windows Phone project to easily either change or increment the property of an object and then, optionally, define a transition. By default, the transition is instantaneous.

To add a ChangePropertyAction to a Windows Phone project

  1. In the Assets panel, click Behaviors, and then drag ChangePropertyAction onto the object on the artboard that you want to apply the action to.

    The Common Properties category appears in the Properties panel.


    The object to which the behavior is added provides the context within which this behavior operates.

  2. In the PropertyName drop-down list, select the property that you want to change.

    ChangePropertyAction for Windows Phone
  3. In the value editor, specify the change that you want for the property in the PropertyName box when the action is triggered.


    The value editor that appears will change depending on the properties that you selected in the PropertyName box. In the value editor, modify the properties that you want to change when the behavior is triggered.

  4. Optionally, you can modify the transition by using the Animation Properties category in the Properties panel. In the Animation Properties category, set one or more of the following:

    • Duration   Specifies the length of the transition in an Hours:Minutes:Seconds.Milliseconds format (00:00:00.00). To animate something for 1 second, you would enter 00:00:01.00. To animate something for .2 seconds, you would enter 00:00:00.20.

    • Ease   Specifies what kind of easing function you want to apply. Ease is available only when Duration is explicitly set.

To see a sample of this behavior, visit the Expression Community Gallery Ff979343.xtlink_newWindow(en-us,Expression.40).png.

  Copyright © 2011 by Microsoft Corporation. All rights reserved.