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
- In the navigator, click .
- From the Forms list, select the form you want to work with.
- In the Displays panel, click Display Editor.
- Click the Silverlight Config tab.
- Click Add.
- 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.
- 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.