ComponentOne DataGrid for WPF and Silverlight
DataGrid for WPF and Silverlight Overview / Main Concepts and Properties
In This Topic
    Main Concepts and Properties
    In This Topic

    In order to use the C1DataGrid to create an application that enables you to read and write to most databases it is useful to understand how the main properties map into datagrid elements.

    The steps involved in displaying and editing the datagrid are:

    1. You can automatically generate the column's headers in the grid by either binding the grid by setting the ItemsSource property to an IEnumberable implementation or by using the DataGridColumn Collection Editor.
    2. Once the data is set for the grid you can determine whether or not you want to generate the columns automatically or configure the columns explicitly. Set the AutoGenerateColumns property to False to configure the columns explicitly or True to generate the columns automatically.
    3. You can then edit (delete, rearrange, and add) the datagrid's columns. For more information see Run-time Interaction.