Step 3 of 4: Setting C1UniformGrid Properties

In this step, we'll set the set the Columns, FirstColumn, and Width properties. The Columns will set the number of columns in the grid, the Width property will set the width, in pixels, and the FirstColumn property will determine how many empty cells will appear in the first row.

1.   Place your cursor within the opening <c1:C1UniformGrid> grid tag.

2.   Set the Columns, FirstColumn, and Width properties using the following XAML:

   <c1:C1UniformGrid Columns="3" FirstColumn="2">

This will give the grid three columns. There will be two empty cells in the first row of the grid, as specified with the FirstColumn property.

In the next step, you will run the application to see the results.


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