Export (0) Print
Expand All

FluidMoveSetTagBehavior

Expression Studio 4.0

You can use the FluidMoveSetTagBehavior behavior in a Windows Phone project to write information to a hidden data store so that a FluidMoveBehavior behavior can be applied to an object that shares both a visual relationship and a data relationship with the object to which you have applied the FluidMoveSetTagBehavior behavior. For example, you might apply the FluidMoveSetTagBehavior to an element in a list, and then use a matching FluidMoveBehavior on a details view to make the details seem to fly out of the list.

For more information about how FluidMoveSetTagBehavior and FluidMoveBehavior work together, see FluidMoveBehavior, FluidMoveSetTagBehavior, and the data store.

To add a FluidMoveSetTagBehavior to a Windows Phone project

  1. In the Assets panel, click Behaviors, and then drag FluidMoveSetTagBehavior onto the object that you want, either on the artboard or in the timeline.

    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 AppliesTo drop-down list, select the object that you want to apply the behavior to. Self specifies the object to which the behavior is attached. Children applies to all the children of the object (for example, a layout container) that you have specified.

    FluidMoveSetTagBehavior
  3. In the Tag Properties category, in the Tag drop-down list, specify the type of data that you want to write to the data store. Select DataContext if you have selected bound data.

  4. For more complex data scenarios, you can also specify the dot-syntax constraint. In the Tag Properties category, click Show advanced properties Ff979319.de239c9d-42ce-4f5e-83b9-5f9924c0431f(en-us,Expression.40).png. In the Tag drop-down list, specify the dot-syntax constraints.

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

See Also

  Copyright © 2011 by Microsoft Corporation. All rights reserved.
Show:
© 2014 Microsoft