How to: Use a Third-Party WPF Control in a WPF Application
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
The WPF Designer for Visual Studio makes it easy to use third-party controls in your WPF applications. This topic shows how to use a WPF control which is deployed in a separate assembly.
The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.
To use a third-party WPF control in your application
Open the XAML file for your project's main window in the WPF Designer. For example, you might open MainWindow.xaml or UserControl1.xaml.
Right-click the Toolbox and select Chose Items from the shortcut menu.
The Choose Toolbox Items dialog box opens.
Click the WPF Components tab.
In the list, locate the control you wish to use.
If the control you want to use does not appear in the list, click the Browse button. In the Open dialog box, navigate to the assembly which contains the control you want to use. Select the assembly and click Open.
The control appears in the Choose Toolbox Items dialog box.
Ensure that the check box next to the control is checked, and then click the OK button.
The selected control appears in the Toolbox.
From the Toolbox, drag the control onto the design surface.
The selected control appears on the design surface. Also, the control's assembly is added as a project reference, and a namespace mapping is added to the open XAML file.