ComponentOne DataGrid for WPF and Silverlight
DataGrid for WPF and Silverlight Overview / Getting Started / Quick Start / Step 1 of 4: Adding C1DataGrid to your Project
In This Topic
    Step 1 of 4: Adding C1DataGrid to your Project
    In This Topic

    In this step you'll begin in Visual Studio to create a grid application using DataGrid 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.
    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:

       

    4. Name the C1DataGrid control by setting its Name property to “ProductsDataGrid”.

     

    What You've Accomplished

    Run the application and observe that the grid application will appear similar to the following image:

     

     

    You've successfully created a very basic grid application, but the grid is blank. In the next step you'll add a data source to your project and bind the grid to the data source.