FluidMoveSetTagBehavior

You can use the FluidMoveSetTagBehavior behavior to write information to a 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

  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.

    Note

    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 ****Ff724029.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 Ff724029.xtlink_newWindow(en-us,Expression.40).png.

See also

Concepts

FluidMoveBehavior, FluidMoveSetTagBehavior, and the data store

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