<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="ToolbarOffice2010.MainPage" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml">
  <UserControl.Resources>

    <c1:C1ToolbarCommand x:Key="cmdPaste" LabelTitle="Paste" LargeImageSource="../../Resources/paste32.png" SmallImageSource="../../Resources/paste16.png" />

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

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

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

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

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

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

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

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

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

    <c1:C1ToolbarCommand x:Key="cmdHelp" LabelTitle="Help" LargeImageSource="../../Resources/help32.png" SmallImageSource="../../Resources/help16.png" />
  </UserControl.Resources>
  <Grid x:Name="LayoutRoot" Background="White">

    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
      <RowDefinition />
    </Grid.RowDefinitions>
    <c1:C1Toolbar x:Name="toolbar" Style="{StaticResource C1ToolbarOffice2010}" ShowCollapseButton="True" ShowHelpButton="True">
      <c1:C1ToolbarTabItem Header="Tab1">

        <c1:C1ToolbarGroup Header="Clipboard" ShowDialogLauncher="True" DialogLauncherClick="C1ToolbarGroup_DialogLauncherClick">
          <c1:C1ToolbarGroup.GroupSizeDefinitions>
            <c1:C1ToolbarGroupSizeDefinition>
              <c1:C1ToolbarControlSize>Large</c1:C1ToolbarControlSize>
            </c1:C1ToolbarGroupSizeDefinition>
          </c1:C1ToolbarGroup.GroupSizeDefinitions>
          <c1:C1ToolbarButton c1:CommandExtensions.Command="{StaticResource cmdPaste}" />
          <c1:C1ToolbarButton c1:CommandExtensions.Command="{StaticResource cmdCopy}" />
          <c1:C1ToolbarButton c1:CommandExtensions.Command="{StaticResource cmdCut}" />
          <c1:C1ToolbarButton c1:CommandExtensions.Command="{StaticResource cmdDelete}" />
        </c1:C1ToolbarGroup>

        <c1:C1ToolbarGroup Header="Zoom" ShowDialogLauncher="True" DialogLauncherClick="C1ToolbarGroup_DialogLauncherClick">
          <c1:C1ToolbarGroup.GroupSizeDefinitions>
            <c1:C1ToolbarGroupSizeDefinition>
              <c1:C1ToolbarControlSize>Medium</c1:C1ToolbarControlSize>
            </c1:C1ToolbarGroupSizeDefinition>
          </c1:C1ToolbarGroup.GroupSizeDefinitions>
          <c1:C1ToolbarButton c1:CommandExtensions.Command="{StaticResource cmdZoomOriginal}" />
          <c1:C1ToolbarButton c1:CommandExtensions.Command="{StaticResource cmdZoomIn}" />
          <c1:C1ToolbarButton c1:CommandExtensions.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 c1:CommandExtensions.Command="{StaticResource cmdFind}" />
          <c1:C1ToolbarButton c1:CommandExtensions.Command="{StaticResource cmdFindPrevious}" />
          <c1:C1ToolbarButton c1:CommandExtensions.Command="{StaticResource cmdFindNext}" />
          <c1:C1ToolbarButton c1:CommandExtensions.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 c1:CommandExtensions.Command="{StaticResource cmdHelp}" />
          <c1:C1ToolbarButton c1:CommandExtensions.Command="{StaticResource cmdAbout}" />
        </c1:C1ToolbarGroup>
      </c1:C1ToolbarTabItem>
    </c1:C1Toolbar>

    <TextBox x:Name="tb" Grid.Row="1" IsReadOnly="True" VerticalScrollBarVisibility="Visible" />

  </Grid>
</UserControl>