Adding the SpellChecker for Silverlight Components to a Visual Studio Project

When you install ComponentOne SpellChecker for Silverlight the C1SpellChecker control should be added to your Visual Studio Toolbox. You can also manually add ComponentOne controls to the Toolbox.

ComponentOne SpellChecker for Silverlight provides the following control:

      C1SpellChecker

To use a SpellChecker for Silverlight control, add it to the window or add a reference to the C1.Silverlight.SpellChecker assembly to your project.

Manually Adding SpellChecker for Silverlight to the Toolbox

When you install SpellChecker for Silverlight, the following SpellChecker for Silverlight control will appear in the Visual Studio Toolbox customization dialog box:

      C1SpellChecker

To manually add the C1SpellChecker control to the Visual Studio Toolbox, complete the following steps:

1.   Open the Visual Studio IDE (Microsoft Development Environment). Make sure the Toolbox is visible (select Toolbox in the View menu, if necessary) and right-click the Toolbox to open its context menu.

2.   To make SpellChecker for Silverlight components appear on its own tab in the Toolbox, select Add Tab from the context menu and type in the tab name, C1SpellChecker, for example.

3.   Right-click the tab where the component is to appear and select Choose Items from the context menu.

The Choose Toolbox Items dialog box opens.

4.   In the dialog box, select the Silverlight Components tab.

5.   Sort the list by Namespace (click the Namespace column header) and select the check boxes for components belonging to the C1.Silverlight namespace. Note that there may be more than one component for each namespace.

Adding SpellChecker to the Window

To add ComponentOne SpellChecker for Silverlight to a window or page, complete the following steps:

1.   Add the C1SpellChecker control to the Visual Studio Toolbox.

2.   Double-click C1SpellCheckeror drag the control onto the window.

Adding a Reference to the Assembly

To add a reference to the SpellChecker for Silverlight assembly, complete the following steps:

1.   Select the Add Reference option from the Project menu of your project.

2.   Select the ComponentOne SpellChecker for Silverlight assembly from the list on the .NET tab or on the Browse tab, browse to find the C1.Silverlight.SpellChecker.dll assembly and click OK.

3.   Double-click the window caption area to open the code window. At the top of the file, add the following Imports statements (using in C#):

Imports C1.Silverlight.SpellChecker

This makes the objects defined in the SpellChecker for Silverlight assembly visible to the project.

 


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.