Getting Started

This section provides information on the following topics.

Namespace Changes

In order to maintain consistent namespace and enable code sharing between our WPF and Silverlight controls, namespace for Silverlight controls has been modified similar to WPF. The following are changes done to namespace of Tools Silverlight controls from 8.1.0.x release.

Old Namespace New Namespace
Syncfusion.Silverlight.Tools.Controls Syncfusion.Windows.Tools.Controls
Syncfusion.Silverlight.DockingManager
Syncfusion.Silverlight.Ribbon
Syncfusion.Silverlight.Shared Syncfusion.Windows.Shared

Following controls have been moved from Tools Silverlight assembly to Shared Silverlight assembly in order for the users to use it with different products with Shared Silverlight reference itself.

  • DoubleTextBox
  • MaskedTextBox
  • IntegerTextBox
  • CurrencyTextBox
  • PercentTextBox

Namespace for the above mentioned editor controls will be as follows.

  • xaml
  • xmlns:Syncfusion="Syncfusion.Windows.Tools.Controls;assembly=Syncfusion.Shared.Silverlight"
  • c#
  • using Syncfusion.Windows.Tools.Controls;

    Class Diagram

    The Class Diagram for Tools Silverlight is illustrated below.

    EditorBase Class

    HeatMap Class

    Other Class

    Interfaces

    Enums

    Delegates

    Creating a Silverlight Application and Deploying Essential Tools

    Here are the step-by-step instructions for creating a Silverlight application and deploying Tools controls in that application.

    This procedure is elaborated under the following sections:

    1. Creating a Silverlight Application

    2. Deploying Essential Tools to the Application

    Creating a Silverlight Application

    1. Open Microsoft Visual Studio. Go to File menu and click New Project.

      Creating a Silverlight Application

    2. In the New Project dialog, select Silverlight Application template, name the project and click OK.

      New project dialog

    A new Silverlight application is created.

    Deploying Essential Tools to the Application

    1. Go to Solution Explorer. Right-click References folder and click Add Reference.

      Solution Explorer window

    2. Add the following assemblies to the project References folder.

      • Syncfusion.Tools.Silverlight.dll
      • Syncfusion.Shared.Silverlight.dll,
      • System.Windows.Controls.dll,
      • System.Windows.Controls.Data.dll

      Add Reference

    3. Add Syncfusion.Tools.Silverlight reference in XAML or C# code as follows.

           xmlns:Syncfusion="clr-namespace:Syncfusion.Windows.Tools.Controls;assembly=Syncfusion.Shared.Silverlight"
           using Syncfusion.Windows.Tools.Controls;

    Essential Tools controls are deployed in your application.

    Refer individual getting started sections of all the controls in this user’s guide to know how to add those individual controls to this application.