Add a reference to a Silverlight assembly

To add new controls to the Silverlight Designer toolbox or to call code in a separate assembly, specify the containing assemblies from the Display Editor.

Before you begin

Note: Files added here will be available to all Silverlight forms, and not just the one currently selected in the Navigator.

Procedure

  1. In the navigator, click Global Displays > Forms.
  2. From the Forms list, select the form you want to work with.
  3. In the Displays panel, click Display Editor.
  4. Click the Silverlight Config tab.
  5. Click Add.
  6. Select the Silverlight assembly that will be referenced. Each of the assemblies specified here is added as a reference to all Silverlight projects. Currently, a reference cannot be added to only a specific project.
  7. Click Save.
    Note: The next time the Silverlight Designer is opened, the reference will be available for use from any Silverlight project. Any custom controls defined in any of the assemblies will appear in the Silverlight Designer toolbox under the Custom Controls category.