Export (0) Print
Expand All

ChangePropertyAction

Expression Studio 4.0

You can use the ChangePropertyAction behavior 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

  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.

    NoteNote

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

  2. In the Common Properties category, in the TargetObject box, you can select the object that you want to apply the behavior to. You can click the Artboard Element Picker Artboard Element Picker icon, and then click the object, or you can click Browse and then select the object, data source, or data context from a list of resources that appear in the project.

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

    NoteNote

    The properties in the list will change depending on the object that you selected in the TargetObject box.

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

    NoteNote

    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.

  5. Optionally, you can modify the transition by using the Animation Properties category in the Properties panel. In the Animation Properties category, do 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 Ff723951.xtlink_newWindow(en-us,Expression.40).png.

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.
Show:
© 2014 Microsoft