Explicitly Defining Columns

If you choose, you can explicitly define columns. If the AutoGenerateColumns property is False only the columns you have defined will appear in the grid.

In Microsoft Expression Blend, you can use the DataGridColumn Collection Editor to define columns in your grid. Select the C1DataGrid control, and in the Properties window select the ellipsis button next to the Columns(Collection) item in the Miscellaneous group. The DataGridColumn Collection Editor dialog box will appear:

 

You can also define custom columns in the grid in XAML by using the Columns collection.

For example:

      XAML


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.