C1Toolbar Quick Start > Step 1 of 3: Adding Toolbar for WPF to your Project |
To set up your project and add a C1Toolbar control to your application, complete the following steps
WPF |
Copy Code
|
---|---|
xmlns:System="clr-namespace:System;assembly=mscorlib" xmlns:c1toolbar="clr-namespace:C1.WPF.Toolbar;assembly=C1.WPF.Toolbar" |
Silverlight |
Copy Code
|
---|---|
xmlns:System="clr-namespace:System;assembly=mscorlib" xmlns:c1toolbar="clr-namespace:C1.Silverlight.C1Toolbar;assembly=C1.Silverlight.C1Toolbar" |
XAML |
Copy Code
|
---|---|
<Grid x:Name="LayoutRoot" Background="White"> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> </Grid> |
XAML |
Copy Code
|
---|---|
<Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <c1:C1Toolbar Grid.Row="1" Name="c1Toolbar1"> </c1:C1Toolbar> |