ComponentOne Grid for WPF: ComponentOne Grid for WPF Overview > Adding the Grid for WPF Components to a Blend Project

Adding the Grid for WPF Components to a Blend Project

In order to use C1DataGrid or another ComponentOne Grid for WPF component in the Design workspace of Blend, you must first add a reference to the C1.WPF.C1DataGrid assembly and then add the component from Blend's Asset Library.

To add a reference to the assembly:

1.   Select Project | Add Reference.

2.   Browse to find the C1.WPF.C1DataGrid.dll assembly installed with Grid for WPF.

Note: The C1.WPF.C1DataGrid.dll file is installed to C:\Program Files\ComponentOne\Studio for WPF\Bin by default.

3.   Select C1.WPF.C1DataGrid.dll and click Open. A reference is added to your project.

To add a component from the Asset Library:

1.   Once you have added a reference to the C1.WPF.C1DataGrid assembly, click the Asset Library button  in the Blend Toolbox. The Asset Library appears:

 

2.   Click the Custom Controls tab. All of the Grid for WPF main and auxiliary components are listed here.

 

 

3.   Select C1DataGrid. The component will appear in the Toolbox above the Asset Library button.

 

 

4.   Double-click the C1DataGrid component in the Toolbox to add it to Window1.xaml.


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.