The team blog of the Expression Blend and Design
In Expression Blend 4, one of the new samples we added is called MockupDemonstration. If you haven’t had a chance to use it yet, you can open MockupDemonstration from the Welcome screen, which is available when you first start Expression Blend or when you click Help and then click Welcome Screen. In the Welcome screen, click Samples, and then click MockupDemonstration:
As you can tell quickly from exploring this sample, this sample contains a handful of controls designed to help you create prototypes easily. The catch is that these controls only exist within the confines of this particular sample. Since some of you have requested that it would be useful to have these controls available outside of the sample, this blog post will explain how to make these mockup controls available in other projects.
To enable mockup controls for any SketchFlow project, copy the mockup controls run-time and design-time assemblies from the MockupDemonstration sample to the pre-configured Libraries folder by following the steps below:
1. Copy both Microsoft.Expression.Prototyping.MockupsSL.dll and Design folder from:
Documents > Expression > Blend 4 > Samples > MockupDemonstration > MockupDemonstration > Libraries > Silverlight > Debug (for WPF projects, follow this step but copy files from … > Libraries > .NETFramework > Debug)
2. Add copied files to the following destination:
Computer > OS (C:) > Program Files(x86) > Microsoft Expression > Blend 4 > Libraries > Silverlight > 4.0 > (for WPF paste the copied files from the NETFramework folder in the previous step to … > Libraries > .NETFramework > 4.0)
3. Restart Blend. You can now start using mockup controls by clicking the Mockups category in the Assets panel (the appropriate assembly reference is automatically added to your project).
If you have any questions or comments, please feel free to post below or on our forums.
Dante, Rick, Billy
I am not sure what might be wrong, but a couple of things to consider:
You need to restart Blend after copying the files.
You need the Blend SDK's installed to use the Mockups Library.
The Mockup Assets only appear for SketchFlow projects.
They are listed in their own category that is added to the Asset panel.
As Rick mentioned, did you restart Blend after following the steps in Blend 4? Are you able to run the Mockup sample? Please let me know if that works. Thanks.
The instructions above seem to be invalid for WPF. There is only a Silverlight folder in my Libraries folder.
So the sample project that comes with Blend doesn't appear to have the WPF controls. After a little searching, I found an installer that does have the controls: expressionblend.codeplex.com/.../45452
It should include the Mockups automatically for you after your install.
more Blend stuff at expressionblend.codeplex.com
Love Expression Blend and Sketchflow. Wish I had discovered the application earlier.
I am using SL5 not SL 4 and found that EB 4 would not open my project. I downloaded and installed Microsoft Expression Blend Preview for SL5 and this seems to have resolved the problem. However, as SL5 was released end-2010 I am surprised that I cannot find the SL5 Release Version for Expression Blend and Sketchflow.
You mentioned that time constraints prevented Sketchflow Mock up files from being included as part of the EB4 setup; unfortunately they were not included in the SL5 preview setup either and if you wish to continue using these then you need to copy the mock up files across manually to the following folder:
C:\Program Files (x86)\Microsoft Expression\Blend Preview for Silverlight 5\Libraries\Silverlight\v5.0
Otherwise the instructions for use remain as posted on this chain.