Share via


Create reusable content in Blend SketchFlow

You might find it useful to create reusable content for elements that you find yourself creating over and over again. For example, you can create a navigation bar, and then make the navigation bar into a user control so that you can reuse the control throughout your prototype.

For more information about creating UserControls, see Create an application flow in Blend SketchFlow.

You might also want to create a library of UserControls so that you can easily reuse them throughout multiple projects. You can create a Microsoft Silverlight or Windows Presentation Foundation (WPF) control library.

To create a control library

  1. On the File menu, click New Project, and then select either Silverlight or WPF.

  2. If you create a Silverlight project, click Silverlight Control Library. If you create a WPF project, click WPF Control Library.

  3. In the Name box, type a name for the project.

  4. In the Location box, type the name of or browse to the folder where you want to store the project. By default, this is a folder named Blend Projects in your My Documents folder.

  5. On the Language menu, select a programming language (Visual C# or Visual Basic).

  6. Click OK.

    For more information about creating projects in Blend, see Create a new project.

  7. Now that you have created a new control library, you can create new user controls to include in the library. Create any new user controls that you want for your project.

    For more information about creating new user controls, see Create a new user control in your project.

  8. After you have created the user controls that you want to include in your control library, build the project by clicking CTRL+SHIFT+B.

    For more information, see Build a project.

Now that you have created and built your control library, you can add a reference to the library from inside your project, and reuse the controls from the library in your new project.

For more information, see Add or remove a reference.

See Also

Concepts

Add content to the artboard in Blend SketchFlow