Set up Microsoft Expression Blend to work with LEADTOOLS for WPF

In this quick tutorial, you will make the LEADTOOLS for WPF controls available for use within Microsoft Expression Blend.

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, select WPF App (.NET Framework) 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 click OK.

Plug-in LEADTOOLS for WPF Resources

LEADTOOLS for WPF provides you with powerful controls that let you add image displays and image lists in Microsoft Expression Blend. In this step, you will make all these rich features available within your project.

LEADTOOLS 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:\LEADTOOLS20\Bin\Dotnet\Win32], and select the following files:
    • Leadtools.dll
    • Leadtools.Codecs.dll
    • Leadtools.Controls.Wpf.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 MainWindow.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

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

Programming Reference

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Imaging, Medical, and Document