Content Index Search
 

Sharing code

Apart from deploying a complete application, you might want to share pieces of your application, such as XAML elements, XAML resources, user controls, class definition files, or custom control library files (.dll).

To share XAML

To share XAML, you can use either of the following methods:

To share controls

To share custom controls or user controls, you can use either of the following methods:

For more information about user control and custom control development, see Control Authoring Overview in the Windows Presentation Foundation section on MSDN.

Tip When you add source code files that contain custom controls to an Expression Blend project, you must build the project before you can see the controls in the User Controls tab of the Asset Library in the Toolbox.