Draw a user control in another document
After you create a user control, build the project to make the user control appear in the Assets panel so that you can select it and draw an instance of the user control on the artboard.
To instantiate the user control in another document
If you created a Control Library, add a reference to the .dll in the project in which you want to use your user control. On the Project menu, click Add Reference, browse to the .dll file for your user control in the Add Reference window, and then click Open.
Build your current project (CTRL+SHIFT+B) to make the user control available for selection in the Assets panel.
On the Project category of the Assets panel, select your user control. The icon for your user control appears selected underneath the Assets button.
Use your mouse to draw your user control on the artboard.
Test your project (F5) to see your user control in action.
To edit a user control after it is added to another document
If you created a user control document instead of a control library (.dll), you can enter editing mode for your control by using the shortcut menu.
Right-click the user control on the artboard or in the Objects and Timeline panel, and then click Edit Control. Microsoft Expression Blend opens the user control document for editing.
After you make your changes, save your file, and then switch back to the main document.
If you created a user control in a control library project, you have to edit the original control library project, and then rebuild the .dll.
See also
Tasks
Create a user control from existing objects
Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.