Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Set up Microsoft Expression Blend to work with LEADTOOLS for WPF
See Also

In this quick tutorial, you will make the LEADTOOLS for WPF controls and effects available for use within Microsoft Expression Blend. No coding is required to do this.

Create the Project

  1. Start Microsoft Expression Blend, and from the main menu, select File->New->Project...
  2. In the Create New Project dialog box, accept the default selections Standard Application (.exe) and language Visual C#. Name the project. For Example: MyProject.
  3. If desired, type a new location for your project or select a directory using the Browse button, and then choose OK.

Plug-in LEADTOOLS for WPF Resources

LEADTOOLS for WPF provides you with powerful controls that let you add image displays, image lists, and apply image effects in Microsoft Expression Blend. In this step, you will make all these rich features available within your project.
LEADTOOLS for WPF References
  1. At the right-hand side of the screen, select the Project tab, right-click the References folder, and select Add Reference....
  2. In the Add Reference dialog box, browse to the LEADTOOLS local install directory Win32 folder [default path is: C:\Program Files\LEAD Technologies\LEADTOOLS 15\Bin\Dotnet\Win32], and select the following files:
    • Leadtools.dll
    • Leadtools.Codecs.dll
    • Leadtools.ImageProcessing.SpecialEffects.dll
    • (WPF Express) Leadtools.Windows.Controls.Express.dll
      (WPF Standard) Leadtools.Windows.Controls.dll
      (WPF Module) Leadtools.Windows.Controls.Pro.dll
    • Leadtools.Windows.Media.dll
    • Leadtools.Windows.Media.Effects.dll
    • If you have installed the WPF Module as an add-on to a LEADTOOLS SDK, you may wish to reference other LEADTOOLS .dlls in order to enable specific effects or features.
  3. Click Select and then click OK to make them available to your project.

Set up Your Application Window

The default window name is Window1.xaml. To change this:

  1. Select the Window.
  2. On the Properties tab, find Common Properties-->Title. Type a window name. For Example: PictureThis!

    Window Title

Example

[Window1.xaml]

<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="MyProject.Window1" x:Name="Window" Title="PictureThis!" Width="640" Height="480" > <Grid x:Name="LayoutRoot"/> </Window>

See Also