Search code examples
silverlightimportexpression-blendbehavior

How do I import behaviors into Expression Blend?


I'm trying to import behaviors in to blend, can anyone help me?

I'm a designer not a coder so would like to know the easy import rout for this in Blend?


Solution

  • Right, so there are couple of options:

    1. (The option Christian mentioned). Make sure the library in which your behaviours are in is referenced by your project. The Asset Gallery should auto populate with those behaviours.

    2. (The option dave mentioned). Add the source code for the behaviours in your project or somewhere in your solution referenced by the Silverlight project.

    3. Drop your Behaviours library into the following directory: C:\Program Files\Microsoft Expression\Blend 3\Libraries\Silverlight\v3.0 (location varies based on your machine configuration) Once you do that and restart Blend it should pick up on those Behaviours. (But give it a minute, there's a lag to scan these directories)