C1Toolbar Quick Start > Step 3 of 3: Adding a C1ToolbarStrip and C1ToolbarToggleButtons |
In this step you'll continue in Visual Studio by adding a C1ToolbarStrip to your ‘Font’ C1ToolbarGroup and then you will add C1ToolbarToggleButtons to the C1ToolbarGroup.
XAML |
Copy Code
|
---|---|
<c1:C1ToolbarGroup Header="Font"> <c1:C1ToolbarStrip /> </c1:C1ToolbarGroup> |
The rest of your XAML should appear like the following:
XAML |
Copy Code
|
---|---|
<c1:C1Toolbar Grid.Row="1" Name="c1Toolbar1" <c1:C1ToolbarGroup Header="Clipboard"> <c1:C1ToolbarButton LabelTitle="Paste" /> <c1:C1ToolbarButton LabelTitle="Cut" /> <c1:C1ToolbarButton LabelTitle="Copy" /> </c1:C1ToolbarGroup> <c1:C1ToolbarGroup Header="Font"> <c1:C1ToolbarStrip /> </c1:C1ToolbarGroup> </c1:C1Toolbar> |
XAML |
Copy Code
|
---|---|
<c1:C1ToolbarGroup Header="Font"> <c1:C1ToolbarStrip> <c1:C1ToolbarToggleButton LabelTitle="Bold" /> <c1:C1ToolbarToggleButton LabelTitle="Italic" /> <c1:C1ToolbarToggleButton LabelTitle="Underline" /> </c1:C1ToolbarStrip> </c1:C1ToolbarGroup> |
Congratulations! You've now completed creating a toolbar UI using C1Toolbar.
Further topics: