Developing UFT Support for a Custom WPF or Silverlight Toolkit > How to Add Support for a Custom WPF or Silverlight Control

How to Add Support for a Custom WPF or Silverlight Control

This task describes how to add support for a single type of custom WPF or Silverlight control to an existing toolkit support set.

For instructions on creating a toolkit support set, see How to Create Support for a Custom WPF or Silverlight Toolkit.

Tip: To create your WPF or Silverlight Add-in Extensibility files, use the UFT WPF CustomServer or UFT Silverlight CustomServer project template that the WPF and Silverlight Add-in Extensibility SDK installs on Visual Studio.

Using this template helps set up the XML data and the custom server class that you need to develop to support your custom control, simplifying the first three steps in the task described below. For details, see WPF/Silverlight Custom Server Setup Dialog Box (in Microsoft Visual Studio).

If necessary, you can move the XML data and custom server class that you create using the template into an existing toolkit support set. Copy the information from the XML files into the XML files of the existing toolkit support set, and copy the custom server .cs file into the existing Visual Studio WPF or Silverlight Add-in Extensibility project.