C1Toolbar Quick Start > Step 2 of 3: Adding C1ToolbarGroups to C1Toolbar |
In this step you'll continue in Visual Studio by adding C1ToolbarGroups to your C1Toolbar. You'll then add C1ToolbarButtons to the C1ToolbarGroups.
XAML |
Copy Code
|
---|---|
<c1:C1Toolbar Name="c1Toolbar1"> <c1:C1ToolbarGroup /> <c1:C1ToolbarGroup /> </c1:C1Toolbar> |
XAML |
Copy Code
|
---|---|
<c1:C1Toolbar Grid.Row="1" Name="c1Toolbar1"> <c1:C1ToolbarGroup Header="Clipboard"/> <c1:C1ToolbarGroup Header="Font"/> </c1:C1Toolbar> |
XAML |
Copy Code
|
---|---|
<c1:C1Toolbar Name="c1Toolbar1"> <c1:C1ToolbarGroup Header="Clipboard"> <c1:C1ToolbarButton LabelTitle="Paste" LargeImageSource="/ToolbarQuickstart;component/Images/Paste.png" /> <c1:C1ToolbarButton LabelTitle="Cut" SmallImageSource="/ToolbarQuickstart;component/Images/Cut.png" /> <c1:C1ToolbarButton LabelTitle="Copy" SmallImageSource="/ToolbarQuickstart;component/Images/Copy.png" /> </c1:C1ToolbarGroup> <c1:C1ToolbarGroup Header="Font"/> </c1:C1Toolbar> |