Step 1 of 4: Adding Grid for WPF to your Project
In this step you'll begin in Visual Studio to create a grid application using Grid for WPF. When you add the C1DataGrid control to your application, you'll have a complete, functional grid. You can further customize the grid to your application.
To set up your project and add a C1DataGrid control to your application, complete the following steps:
1. Create a new WPF project in Visual Studio. For more information about creating a WPF project, see Creating a .NET Project in Visual Studio.
2. Navigate to the
Toolbox and double-click the C1DataGrid icon to add the grid
control to Window1.
3. Resize the Window and the C1DataGrid within the Window; it should now look similar to the following:
Run the program and observe:
The grid application will appear similar to the following:
You've successfully created a grid application. In the next step you'll add a data source to your project and bind the grid to a data source.
|