WPF and Silverlight Edition Basic Library / LayoutPanels / Layout Panels Quick Starts / UniformGrid Quick Start
UniformGrid Quick Start

The following quick start guide is intended to get you up and running with UniformGrid for Silverlight. In this quick start, you'll create a new project in Visual Studio, add a C1UniformGrid to your application, set the Columns and FirstColumn properties, and then run the application.

To set up your project, complete the following steps:

  1. In Visual Studio, select File | New Project.
  2. In the New Project dialog box, select either Windows Desktop or Silverlight from the Templates in the left-hand pane.
New Project Dialog

New Project Dialog

  1. Select WPF Application or Silverlight Application, depending on the template you chose. 
  2. Enter a Name for your project, for example "QuickStart", and click OK. In a WPF Application, the MainWindow.xaml file will open.
    1. If you selected a Silverlight Application, when you click OK, the New Silverlight Application dialog box will appear.
    2. Click OK to accept default settings. This will close the New Silverlight Application dialog box and create your project.
    3. The MainPage.xaml file should open.
  3. Add the following assemblies to your application by right-clicking the References folder and selecting Add Reference:
  • WPF: C1.WPF.4.dll
  • Silverlight: C1.Silverlight.5.dll

In the next step, you'll add a UniformGrid control.