Step 1 of 3: Adding Toolbar for Silverlight to your Project
To set up your project and add a C1Toolbar control to your application, complete the following steps
1. Create a new Silverlight project in Visual Studio.
2. Add a reference to the C1.Silverlight and the C1.Silverlight.C1Toolbar assemblies. In the Solution Explorer right-click on References and select Add Reference. In the Add Reference dialog box select the Browse tab. Browse for the C1.Silverlight.C1Toolbar.dll and the C1.Silverlight and select OK.
3. Define the System and the C1.WPF.C1Toolbar prefixes.
xmlns:System="clr-namespace:System;assembly=mscorlib"
xmlns:c1toolbar="clr-namespace:C1.Silverlight.C1Toolbar;assembly=C1.Silverlight.C1Toolbar"
4. Add 2 Rows to the LayoutRoot Grid and set the Height of the first row to Auto.
<Grid x:Name="LayoutRoot" Background="White">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
</Grid>
5. Drop a C1Toolbar onto the page within the first row and Remove the default properties: Height="100" HorizontalAlignment="Left" Margin="174,34,0,0". Your XAML should now look like the following:
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<c1:C1Toolbar Grid.Row="1" Name="c1Toolbar1">
</c1:C1Toolbar>