Creating a C1DataGrid in Expression Blend
In This Topic
To create a C1DataGrid control in Blend, complete the following steps:
-
Navigate to the Projects window and right-click the References folder in the project files list. In the context menu choose Add Reference, locate and select the C1.WPF.DataGrid.dll assembly, and click Open.
The dialog box will close and the references will be added to your project and the controls will be available in the Asset Library.
-
In the Toolbox click on the Assets button (the double chevron icon) to open the Assets dialog box.
-
In the Asset Library dialog box, choose the Controls item in the left pane, and then click on the C1DataGrid icon in the right pane:
The C1DataGrid icon will appear in the Toolbox under the Assets button.
- Click once on the design area of the UserControl to select it. Unlike in Visual Studio, in Blend you can add WPF controls directly to the design surface as in the next step.
- Double-click the C1DataGrid icon in the Toolbox to add the control to the panel. The C1DataGrid control will now exist in your application.
- If you choose, can customize the control by selecting it and setting properties in the Properties window. For example, set the C1DataGrid control's Name property to "c1datagrid1" the Height property to "180", and the Width property to "250".