<?xml version="1.0" encoding="utf-8"?>
<Window x:Class="ToolbarCommandsCS.MainWindow" Title="MainWindow" Height="350" Width="525" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Window.Resources>
        <c1:C1ToolbarCommand x:Key="cmdPaste" LabelTitle="Paste" LargeImageSource="/ToolbarCommandsCS.4;component/Resources/paste32.png" SmallImageSource="/ToolbarCommandsCS.4;component/Resources/paste16.png" />

        <c1:C1ToolbarCommand x:Key="cmdCut" LabelTitle="Cut" LargeImageSource="/ToolbarCommandsCS.4;component/Resources/cut32.png" SmallImageSource="/ToolbarCommandsCS.4;component/Resources/cut16.png" />

        <c1:C1ToolbarCommand x:Key="cmdCopy" LabelTitle="Copy" LargeImageSource="/ToolbarCommandsCS.4;component/Resources/copy32.png" SmallImageSource="/ToolbarCommandsCS.4;component/Resources/copy16.png" />

        <c1:C1ToolbarCommand x:Key="cmdDelete" LabelTitle="Delete" LargeImageSource="/ToolbarCommandsCS.4;component/Resources/delete32.png" SmallImageSource="/ToolbarCommandsCS.4;component/Resources/delete16.png" />

        <c1:C1ToolbarCommand x:Key="cmdZoomOriginal" LabelTitle="1:1" LargeImageSource="/ToolbarCommandsCS.4;component/Resources/zoom_original32.png" SmallImageSource="/ToolbarCommandsCS.4;component/Resources/zoom_original16.png" />

        <c1:C1ToolbarCommand x:Key="cmdZoomIn" LabelTitle="Zoom In" LargeImageSource="/ToolbarCommandsCS.4;component/Resources/zoom_in32.png" SmallImageSource="/ToolbarCommandsCS.4;component/Resources/zoom_in16.png" />

        <c1:C1ToolbarCommand x:Key="cmdZoomOut" LabelTitle="Zoom Out" LargeImageSource="/ToolbarCommandsCS.4;component/Resources/zoom_out32.png" SmallImageSource="/ToolbarCommandsCS.4;component/Resources/zoom_out16.png" />

        <c1:C1ToolbarCommand x:Key="cmdFind" LabelTitle="Find" LargeImageSource="/ToolbarCommandsCS.4;component/Resources/find32.png" SmallImageSource="/ToolbarCommandsCS.4;component/Resources/find16.png" />
        <c1:C1ToolbarCommand x:Key="cmdFindNext" LabelTitle="Find Next" LargeImageSource="/ToolbarCommandsCS.4;component/Resources/find_next32.png" SmallImageSource="/ToolbarCommandsCS.4;component/Resources/find_next16.png" />
        <c1:C1ToolbarCommand x:Key="cmdFindPrevious" LabelTitle="Find Previous" LargeImageSource="/ToolbarCommandsCS.4;component/Resources/find_previous32.png" SmallImageSource="/ToolbarCommandsCS.4;component/Resources/find_previous16.png" />

        <c1:C1ToolbarCommand x:Key="cmdFindAgain" LabelTitle="Find Again" LargeImageSource="/ToolbarCommandsCS.4;component/Resources/find_again32.png" SmallImageSource="/ToolbarCommandsCS.4;component/Resources/find_again16.png" />

        <c1:C1ToolbarCommand x:Key="cmdAbout" LabelTitle="About" LargeImageSource="/ToolbarCommandsCS.4;component/Resources/about32.png" SmallImageSource="/ToolbarCommandsCS.4;component/Resources/about16.png" />

        <c1:C1ToolbarCommand x:Key="cmdHelp" LabelTitle="Help" LargeImageSource="/ToolbarCommandsCS.4;component/Resources/help32.png" SmallImageSource="/ToolbarCommandsCS.4;component/Resources/help16.png" />
    </Window.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <c1:C1Toolbar ShowCollapseButton="True" ShowHelpButton="True" HelpClick="C1Toolbar_HelpClick">
            <c1:C1ToolbarTabItem Header="Tab1">
                <c1:C1ToolbarGroup Header="Clipboard">
                    <c1:C1ToolbarGroup.GroupSizeDefinitions>
                        <c1:C1ToolbarGroupSizeDefinition>
                            <c1:C1ToolbarControlSize>Large</c1:C1ToolbarControlSize>
                        </c1:C1ToolbarGroupSizeDefinition>
                    </c1:C1ToolbarGroup.GroupSizeDefinitions>
                    <c1:C1ToolbarButton Command="{StaticResource cmdPaste}" />
                    <c1:C1ToolbarButton Command="{StaticResource cmdCopy}" />
                    <c1:C1ToolbarButton Command="{StaticResource cmdCut}" />
                    <c1:C1ToolbarButton Command="{StaticResource cmdDelete}" />
                </c1:C1ToolbarGroup>

                <c1:C1ToolbarGroup Header="Zoom">
                    <c1:C1ToolbarGroup.GroupSizeDefinitions>
                        <c1:C1ToolbarGroupSizeDefinition>
                            <c1:C1ToolbarControlSize>Medium</c1:C1ToolbarControlSize>
                        </c1:C1ToolbarGroupSizeDefinition>
                    </c1:C1ToolbarGroup.GroupSizeDefinitions>
                    <c1:C1ToolbarButton Command="{StaticResource cmdZoomOriginal}" />
                    <c1:C1ToolbarButton Command="{StaticResource cmdZoomIn}" />
                    <c1:C1ToolbarButton Command="{StaticResource cmdZoomOut}" />
                </c1:C1ToolbarGroup>
            </c1:C1ToolbarTabItem>

            <c1:C1ToolbarTabItem Header="Tab2">
                <c1:C1ToolbarGroup Header="Find">
                    <c1:C1ToolbarGroup.GroupSizeDefinitions>
                        <c1:C1ToolbarGroupSizeDefinition>
                            <c1:C1ToolbarControlSize>Large</c1:C1ToolbarControlSize>
                            <c1:C1ToolbarControlSize>Medium</c1:C1ToolbarControlSize>
                        </c1:C1ToolbarGroupSizeDefinition>
                    </c1:C1ToolbarGroup.GroupSizeDefinitions>
                    <c1:C1ToolbarButton Command="{StaticResource cmdFind}" />
                    <c1:C1ToolbarButton Command="{StaticResource cmdFindPrevious}" />
                    <c1:C1ToolbarButton Command="{StaticResource cmdFindNext}" />
                    <c1:C1ToolbarButton Command="{StaticResource cmdFindAgain}" />
                </c1:C1ToolbarGroup>

                <c1:C1ToolbarGroup Header="Help">
                    <c1:C1ToolbarGroup.GroupSizeDefinitions>
                        <c1:C1ToolbarGroupSizeDefinition>
                            <c1:C1ToolbarControlSize>Large</c1:C1ToolbarControlSize>
                        </c1:C1ToolbarGroupSizeDefinition>
                    </c1:C1ToolbarGroup.GroupSizeDefinitions>
                    <c1:C1ToolbarButton Command="{StaticResource cmdHelp}" />
                    <c1:C1ToolbarButton Command="{StaticResource cmdAbout}" />
                </c1:C1ToolbarGroup>
            </c1:C1ToolbarTabItem>
        </c1:C1Toolbar>
        <TextBox x:Name="tb" Grid.Row="1" IsReadOnly="True" VerticalScrollBarVisibility="Visible" />
    </Grid>
</Window>