Поделиться через


Adding behaviors to objects

You can use behaviors to add interactivity to your application without having to write any code. Behaviors are reusable pieces of packaged code that can be dragged onto any object, and then fine-tuned by changing their properties. Instead of being limited to controlling storyboards or defining the appearance of controls, you can design the way your application responds to users by using the standard behaviors that come with Microsoft Expression Blend.

For more information, see Add a behavior to an object.

You can also use behaviors that are created by people in the Expression community. For example, you can download custom behaviors from the Microsoft Expression Gallery.

For more information, see Add a behavior that was created by someone else.

Developers can use the new Expression Blend Software Development Kit (SDK) to create custom behaviors and post them to the Expression Gallery. To view the SDK documentation, click Expression Blend SDK User Guide on the Help menu.

To see behaviors in action, you can open the Zune3D, PCGaming, and other samples that come with Expression Blend. To open samples, click Welcome Screen on the Help menu, click the Samples tab, and then select a sample from the list.

See also

Concepts

Defining different visual states for a control