<Window x:Class="SimplifiedRibbonSample.MainWindow"
        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:local="clr-namespace:SimplifiedRibbonSample"
        xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml"
        mc:Ignorable="d" Icon="Resources/C1-ball.ico"
        Title="Simplified Ribbon Demo" Height="450" Width="780">
    <Window.Resources>
        <c1:C1ToolbarCommand x:Key="cmdPaste" LabelTitle=" Paste" LargeImageSource="/SimplifiedRibbonSample;component/Resources/paste32.png" SmallImageSource="/SimplifiedRibbonSample;component/Resources/paste16.png" />

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

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

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

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

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

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

        <c1:C1ToolbarCommand x:Key="cmdFind" LabelTitle=" Find" LargeImageSource="/SimplifiedRibbonSample;component/Resources/find32.png" SmallImageSource="/SimplifiedRibbonSample;component/Resources/find16.png" />
        
        <c1:C1ToolbarCommand x:Key="cmdAbout" LabelTitle=" About" LargeImageSource="/SimplifiedRibbonSample;component/Resources/about32.png" SmallImageSource="/SimplifiedRibbonSample;component/Resources/about16.png" />

        <c1:C1ToolbarCommand x:Key="cmdHelp" LabelTitle=" Help" LargeImageSource="/SimplifiedRibbonSample;component/Resources/help32.png" SmallImageSource="/SimplifiedRibbonSample;component/Resources/help16.png" />

        <c1:C1ToolbarCommand x:Key="cmdUndo" LabelTitle=" Undo" LargeImageSource="/SimplifiedRibbonSample;component/Resources/undo32.png" SmallImageSource="/SimplifiedRibbonSample;component/Resources/undo16.png" />

        <c1:C1ToolbarCommand x:Key="cmdRedo" LabelTitle=" Redo" LargeImageSource="/SimplifiedRibbonSample;component/Resources/redo32.png" SmallImageSource="/SimplifiedRibbonSample;component/Resources/redo16.png" />
    </Window.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        
        <c1:C1SimplifiedRibbon MarqueeBrush="DarkOrange" FontSize="14">
            <c1:C1SimplifiedTabItem Header="Home">
                <c1:C1SimplifiedRibbonGroup Header="Edit">
                    <c1:C1SimplifiedRibbonGroup.GroupSizeDefinitions>
                        <c1:C1ToolbarGroupSizeDefinition>
                            <c1:C1ToolbarControlSize>Large</c1:C1ToolbarControlSize>
                        </c1:C1ToolbarGroupSizeDefinition>
                    </c1:C1SimplifiedRibbonGroup.GroupSizeDefinitions>
                    <c1:C1ToolbarButton Command="{StaticResource cmdPaste}" />
                    <c1:C1ToolbarButton Command="{StaticResource cmdCopy}" />
                    <c1:C1ToolbarButton Command="{StaticResource cmdCut}" />
                    <c1:C1ToolbarButton Command="{StaticResource cmdDelete}" />
                    <c1:C1ToolbarButton Command="{StaticResource cmdUndo}" />
                    <c1:C1ToolbarButton Command="{StaticResource cmdRedo}" />
                </c1:C1SimplifiedRibbonGroup>

                <c1:C1SimplifiedRibbonGroup VerticalContentAlignment="Center" Header="Scale">
                    <c1:C1SimplifiedRibbonGroup.GroupSizeDefinitions>
                        <c1:C1ToolbarGroupSizeDefinition>
                            <c1:C1ToolbarControlSize>Medium</c1:C1ToolbarControlSize>
                        </c1:C1ToolbarGroupSizeDefinition>
                    </c1:C1SimplifiedRibbonGroup.GroupSizeDefinitions>
                    <c1:C1ToolbarButton Command="{StaticResource cmdZoomOriginal}" MouseOverBrush="LightGreen" PressedBrush="Green" />
                    <c1:C1ToolbarButton Command="{StaticResource cmdZoomIn}" />
                    <c1:C1ToolbarButton Command="{StaticResource cmdZoomOut}" />
                </c1:C1SimplifiedRibbonGroup>
                
                <c1:C1SimplifiedRibbonGroup Header="Search">
                    <c1:C1SimplifiedRibbonGroup.GroupSizeDefinitions>
                        <c1:C1ToolbarGroupSizeDefinition>
                            <c1:C1ToolbarControlSize>Large</c1:C1ToolbarControlSize>
                            <c1:C1ToolbarControlSize>Medium</c1:C1ToolbarControlSize>
                        </c1:C1ToolbarGroupSizeDefinition>
                    </c1:C1SimplifiedRibbonGroup.GroupSizeDefinitions>
                    <c1:C1ToolbarButton Command="{StaticResource cmdFind}" />
                </c1:C1SimplifiedRibbonGroup>
            </c1:C1SimplifiedTabItem>

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