ProgressIndicator Quick Start

The following quick start guide is intended to get you up and running with ProgressIndicator for WPF and Silverlight. In this quick start you'll start in Visual Studio and create a new project, add the C1ProgressIndicator control to your application, and observe the control at run time.

In this step you'll begin in Visual Studio to create a Silverlight application using ProgressIndicator for WPF and Silverlight. Complete the following steps:

  1. In Visual Studio, select File | New | Project to open the New Project dialog box.
  2. In the New Project dialog box, select a language in the left pane, and in the templates list select WPF Application. Enter a Name for your project and click OK. The New WPF Application dialog box will appear.
  3. Click OK to close the New WPF Application dialog box and create your project.
  4. Add a UserControl and name it C1RangeSlider.
  5. In the XAML window of the project, resize the UserControl by changing Width="400" Height="300" to Width="Auto" Height="Auto" in the <UserControl> tag so that it appears similar to the following:
XAML
Copy Code
<UserControl x:Class="C1RangeSlider.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="Auto" Height="Auto">
  1. The UserControl will now resize to accommodate any content placed within it.
  2. In the XAML window of the project, place the cursor between the <Grid> and </Grid> tags and click once.
  3. Navigate to the Toolbox and double-click the C1ProgressBar icon to add the control to the grid. Note that the C1.Silverlight namespace and <c1:C1ProgressBar></c1:C1ProgressBar> tags have been added to the project.

You have successfully created a Silverlight application containing a C1ProgressBar control. In the next step, you will customize the control.