<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml"
    xmlns:fv="clr-namespace:C1.WPF.FlexViewer"
    >

    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="Common.xaml"/>
    </ResourceDictionary.MergedDictionaries>

    <Style TargetType="{x:Type fv:MainToolbar}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type fv:MainToolbar}">
                    <Grid>

                        <c1:C1BrushBuilder
                            x:Name="BackgroundBrush"
                            Input="{StaticResource NormalBackground}"
                            DesignBrush="{StaticResource ToolbarBackgroundBrush}"
                            DesignColor="{StaticResource BaseDesignColor}"
                            />
                        <c1:C1BrushBuilder
                            x:Name="InnerBorderBrush"
                            Input="{StaticResource NormalBackground}"
                            DesignBrush="{StaticResource BorderNormalDesignBrush}"
                            DesignColor="{StaticResource BaseDesignColor}"
                            />
                        <c1:C1BrushBuilder
                            x:Name="SeparatorBrush"
                            Input="{StaticResource NormalBackground}"
                            DesignBrush="{StaticResource SeparatorDesignBrush}"
                            DesignColor="{StaticResource BaseDesignColor}"
                            />

                        <Border
                            x:Name="BackgroundElement"
                            Background="{Binding Output, ElementName=BackgroundBrush}"
                            BorderBrush="{StaticResource BorderBrush}"
                            BorderThickness="0 0 0 1"
                            >
                            <Border
                                BorderBrush="{Binding Output, ElementName=InnerBorderBrush}"
                                BorderThickness="{StaticResource InnerBorderThickness}"
                                />
                        </Border>

                        <StackPanel
                            x:Name="toolBarStack"
                            Orientation="Horizontal"
                            Margin="0 3"
                            >

                            <StackPanel.Resources>
                                <ResourceDictionary>
                                    
                                    <Style x:Key="documentListCombo" TargetType="c1:C1ComboBox">
                                        <Setter Property="BorderBrush" Value="{StaticResource BorderBrush}" />
                                        <Setter Property="ButtonBackground" Value="{StaticResource NormalBackground}" />
                                        <Setter Property="ButtonForeground" Value="{StaticResource ComboButtonForegroundBrush}" />
                                        <Setter Property="VerticalAlignment" Value="Center" />
                                        <Setter Property="FontSize" Value="{StaticResource FontSize}" />
                                        <Setter Property="Padding" Value="2,2" />
                                        <Setter Property="IsEditable" Value="False" />
                                    </Style>

                                </ResourceDictionary>
                            </StackPanel.Resources>
                            
                            <FrameworkElement Width="5" />

                            <Border
                                x:Name="documentListSeparator"
                                Width="2" 
                                Background="{Binding Output, ElementName=SeparatorBrush}" 
                                BorderThickness="0,0,1,1" 
                                BorderBrush="#B2FFFFFF" 
                                Height="{StaticResource ButtonHeight}"
                                Margin="4,0" 
                                />

                            <Button
                                x:Name="navigateBackwardButton"
                                ToolTipService.ToolTip="{Binding NavigateBackwardTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                Background="Transparent"
                                Style="{StaticResource ToolbarButtonStyle}"
                                Width="{StaticResource ButtonWidth}"
                                >
                                <Viewbox RenderTransformOrigin="0.5,0.5" Margin="0">
                                    <Viewbox.RenderTransform>
                                        <RotateTransform Angle="0"/>
                                    </Viewbox.RenderTransform>
                                    <Canvas Width="100" Height="100">
                                        <Path Fill="{StaticResource IconBrush1}" Data="M49.953,100C77.519,100 99.947,77.574 99.947,50.004 99.947,22.436 77.519,0.0069999999999979 49.953,0.0069999999999979 22.386,0.0069999999999979 -0.0419999999999945,22.436 -0.0419999999999945,50.004 -0.042,77.574 22.386,100 49.953,100z M49.953,5.776C74.341,5.776 94.18,25.616 94.18,50.005 94.18,74.394 74.341,94.233 49.953,94.233 25.566,94.233 5.72600000000001,74.394 5.72600000000001,50.005 5.727,25.616 25.566,5.776 49.953,5.776z"></Path>
                                        <Path Fill="{StaticResource IconBrush1}" Data="M55.169,75.502C56.295,76.627 58.123,76.627 59.247,75.502 60.375,74.374 60.375,72.549 59.247,71.421L37.833,50.004 59.248,28.588C60.376,27.462 60.376,25.637 59.248,24.509 58.686,23.946 57.948,23.664 57.209,23.664 56.474,23.664 55.733,23.946 55.17,24.509L31.715,47.964C30.588,49.09,30.588,50.917,31.715,52.043L55.169,75.502z"></Path>
                                    </Canvas>
                                </Viewbox>
                            </Button>

                            <Button
                                x:Name="navigateForwardButton"
                                ToolTipService.ToolTip="{Binding NavigateForwardTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                Background="Transparent"
                                Style="{StaticResource ToolbarButtonStyle}"
                                Width="{StaticResource ButtonWidth}"
                                >
                                <Viewbox RenderTransformOrigin="0.5,0.5" Margin="0">
                                    <Viewbox.RenderTransform>
                                        <RotateTransform Angle="180"/>
                                    </Viewbox.RenderTransform>
                                    <Canvas Width="100" Height="100">
                                        <Path Fill="{StaticResource IconBrush1}" Data="M49.953,100C77.519,100 99.947,77.574 99.947,50.004 99.947,22.436 77.519,0.0069999999999979 49.953,0.0069999999999979 22.386,0.0069999999999979 -0.0419999999999945,22.436 -0.0419999999999945,50.004 -0.042,77.574 22.386,100 49.953,100z M49.953,5.776C74.341,5.776 94.18,25.616 94.18,50.005 94.18,74.394 74.341,94.233 49.953,94.233 25.566,94.233 5.72600000000001,74.394 5.72600000000001,50.005 5.727,25.616 25.566,5.776 49.953,5.776z"></Path>
                                        <Path Fill="{StaticResource IconBrush1}" Data="M55.169,75.502C56.295,76.627 58.123,76.627 59.247,75.502 60.375,74.374 60.375,72.549 59.247,71.421L37.833,50.004 59.248,28.588C60.376,27.462 60.376,25.637 59.248,24.509 58.686,23.946 57.948,23.664 57.209,23.664 56.474,23.664 55.733,23.946 55.17,24.509L31.715,47.964C30.588,49.09,30.588,50.917,31.715,52.043L55.169,75.502z"></Path>
                                    </Canvas>
                                </Viewbox>
                            </Button>

                            <Border
                                x:Name="navigationSeparator"
                                Width="2" 
                                Background="{Binding Output, ElementName=SeparatorBrush}" 
                                BorderThickness="0,0,1,1" 
                                BorderBrush="#B2FFFFFF" 
                                Height="{StaticResource ButtonHeight}"
                                Margin="4,0" 
                                />

                            <ToggleButton
                                x:Name="printLayoutButton"
                                ToolTipService.ToolTip="{Binding PrintLayoutTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                Background="Transparent"
                                Style="{StaticResource ToolbarButtonStyle}"
                                Width="{StaticResource ButtonWidth}"
                                >
                                <Viewbox RenderTransformOrigin="0.5,0.5" Margin="0" Stretch="Fill">
                                    <Viewbox.RenderTransform>
                                        <RotateTransform Angle="0"/>
                                    </Viewbox.RenderTransform>
                                    <Canvas Width="100" Height="100">
                                        <Path Canvas.Left="12" RenderTransformOrigin="0.5,0.5" Fill="{StaticResource IconBrush2}" Data="M48.958,0L0,0 0,100 77.031,100 77.031,29.141 48.958,0z M50.273,13.047L63.489,26.771 50.273,26.771 50.273,13.047z M8.105,91.901L8.105,8.112 44.192,8.112 44.192,32.852 68.925,32.852 68.925,91.902 8.105,91.902z">
                                            <Path.RenderTransform>
                                                <ScaleTransform ScaleX="0.9" ScaleY="0.9"/>
                                            </Path.RenderTransform>
                                        </Path>
                                    </Canvas>
                                </Viewbox>
                            </ToggleButton>

                            <ToggleButton
                                x:Name="parametersButton"
                                ToolTipService.ToolTip="{Binding ParametersTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                Background="Transparent"
                                Style="{StaticResource ToolbarButtonStyle}"
                                Width="{StaticResource ButtonWidth}"
                                >
                                <Viewbox RenderTransformOrigin="0.5,0.5" Margin="0" Stretch="Fill">
                                    <Viewbox.RenderTransform>
                                        <RotateTransform Angle="0"/>
                                    </Viewbox.RenderTransform>

                                    <Canvas Width="100" Height="100">
                                        <Path Canvas.Left="-4" Canvas.Top="-14" RenderTransformOrigin="0.5,0.5" Fill="{StaticResource IconBrush2}" >
                                            <Path.RenderTransform>
                                                <ScaleTransform ScaleX="0.9" ScaleY="0.9"/>
                                            </Path.RenderTransform>

                                            <Path.Data>
                                                <CombinedGeometry GeometryCombineMode="Exclude">
                                                    <!-- The 'page' image: -->
                                                    <CombinedGeometry.Geometry1>
                                                        M18.5,18.5L81.5,18.5 81.5,81.5 18.5,81.5 18.5,18.5z M29,29L29,71 71,71 71,29 29,29z
                                                    </CombinedGeometry.Geometry1>
                                                    <!-- The square wipe: -->
                                                    <CombinedGeometry.Geometry2>
                                                        <RectangleGeometry Rect="34,42,72,72"/>
                                                    </CombinedGeometry.Geometry2>
                                                </CombinedGeometry>
                                            </Path.Data>
                                        </Path>

                                        <!-- The 'square' image: -->
                                        <Path Canvas.Left="16" Canvas.Top="12" RenderTransformOrigin="0.5,0.5" Fill="{StaticResource IconBrush1}">
                                            <Path.RenderTransform>
                                                <ScaleTransform ScaleX="0.9" ScaleY="0.9"/>
                                            </Path.RenderTransform>
                                            <Path.Data>
                                                M18.5,18.5L81.5,18.5 81.5,81.5 18.5,81.5 18.5,18.5z M29,29L29,71 71,71 71,29 29,29z
                                            </Path.Data>
                                        </Path>
                                    </Canvas>
                                </Viewbox>
                            </ToggleButton>

                            <ToggleButton
                                x:Name="pageSettingsButton"
                                ToolTipService.ToolTip="{Binding PageSettingsTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                Background="Transparent"
                                Style="{StaticResource ToolbarButtonStyle}"
                                Width="{StaticResource ButtonWidth}"
                                >
                                <Viewbox RenderTransformOrigin="0.5,0.5" Margin="0" Stretch="Fill">
                                    <Viewbox.RenderTransform>
                                        <RotateTransform Angle="0"/>
                                    </Viewbox.RenderTransform>

                                    <!-- This dances with buben are needed to wipe parts of 'page' image that are under/around the 'gear' image,
                                         so that it draws on a clear (white) surface. Unfortunately due to both Path's having scale transform,
                                         this makes it hard to precisely center the circle and the gear. Also, I could not find a way to
                                         wipe out the underlying parts semi-transparently (something like CombinedGeometry 'blend mode').
                                    -->
                                    <Canvas Width="100" Height="100">
                                        <Path Canvas.Left="12" RenderTransformOrigin="0.5,0.5" Fill="{StaticResource IconBrush2}" >
                                            <Path.RenderTransform>
                                                <ScaleTransform ScaleX="0.9" ScaleY="0.9"/>
                                            </Path.RenderTransform>
                                            
                                            <Path.Data>
                                                <CombinedGeometry GeometryCombineMode="Exclude">
                                                    <!-- The 'page' image: -->
                                                    <CombinedGeometry.Geometry1>
                                                        M48.958,0L0,0 0,100 77.031,100 77.031,29.141 48.958,0z M50.273,13.047L63.489,26.771 50.273,26.771 50.273,13.047z M8.105,91.901L8.105,8.112 44.192,8.112 44.192,32.852 68.925,32.852 68.925,91.902 8.105,91.902z
                                                    </CombinedGeometry.Geometry1>
                                                    <!-- The round wipe: -->
                                                    <CombinedGeometry.Geometry2>
                                                        <EllipseGeometry RadiusX="45" RadiusY="45" Center="54,72"/>
                                                    </CombinedGeometry.Geometry2>
                                                </CombinedGeometry>
                                            </Path.Data>
                                        </Path>

                                        <!-- The 'gear' image: -->
                                        <Path Canvas.Left="16" Canvas.Top="20" RenderTransformOrigin="0.5,0.5" Fill="{StaticResource IconBrush1}">
                                            <Path.RenderTransform>
                                                <ScaleTransform ScaleX="0.65" ScaleY="0.65"/>
                                            </Path.RenderTransform>
                                            <Path.Data>
                                                M95.525,52.728C89.943,51.232 88.678,38.143 93.257,35.5 94.758,34.63 95.922,33.396 96.691,31.973 95.5,27.63 91.436,21.373 89.143,18.59 87.467,18.512 85.753,18.895 84.193,19.796 79.198,22.682 68.872,14.963 70.41,9.218 70.891,7.423 70.637,5.246 70.245,3.974 67.406,2.506 60.683,0.531 55.69,0.0420000000000003 54.614,0.825 53.382,2.718 52.902,4.525 51.273,10.6 38.382,11.483 35.617,6.695 34.694,5.095 32.994,3.605 31.819,3.115 28.589,4.094 21.57,8.163 18.731,10.512 18.927,12.176 18.965,14.109 19.919,15.759 22.682,20.548 15.199,31.197 9.28999999999999,29.614 7.34599999999999,29.094 5.30599999999999,29.242 3.64199999999999,29.927 2.271,32.963 0.196,40.97 0,44.2 0.392,45.081 2.729,46.628 4.598,47.128 12.641,49.284 12.704,61.079 6.877,64.443 5.231,65.394 3.821,66.714 3.234,68.379 4.213,71.511 8.147,78.397 10.692,81.334 12.356,81.529 14.289,81.102 15.94,80.147 21.144,77.14 31.552,84.211 29.793,90.778 29.336,92.487 29.589,94.285 29.882,96.048 33.798,97.712 40.882,100.053 44.798,99.955 46.07,98.78 46.855,97.143 47.302,95.472 48.842,89.724 61.555,87.89 64.559,93.094 65.398,94.549 66.573,95.93 67.943,96.713 72.054,95.538 79.281,91.494 81.731,88.949 81.827,87.09 81.127,85.537 80.257,84.027 77.01,78.408 84.595,68.569 90.832,70.241 92.54,70.697 94.4,70.543 95.967,70.152 97.337,66.725 99.609,60.603 99.999,55.513 98.629,53.947 97.329,53.212 95.525,52.728z M76.521,56.525C72.714,70.742 58.104,79.176 43.889,75.368 29.676,71.558 21.242,56.945 25.05,42.729 28.858,28.513 43.468,20.078 57.681,23.887 71.895,27.696 80.33,42.307 76.521,56.525z
                                            </Path.Data>
                                        </Path>
                                    </Canvas>

                                    <!-- This alternatvie approach is simple and cheerful, but I could not find a way to 'blend/exclude' rather than simply draw white circle,
                                         which is not good - e.g. it also wipes out the button's highlight when it is pressed.
                                    
                                    <Canvas Width="100" Height="100">
                                        <Path Canvas.Left="12" RenderTransformOrigin="0.5,0.5" Fill="{StaticResource IconBrush2}" Data="M48.958,0L0,0 0,100 77.031,100 77.031,29.141 48.958,0z M50.273,13.047L63.489,26.771 50.273,26.771 50.273,13.047z M8.105,91.901L8.105,8.112 44.192,8.112 44.192,32.852 68.925,32.852 68.925,91.902 8.105,91.902z">
                                            <Path.RenderTransform>
                                                <ScaleTransform ScaleX="0.9" ScaleY="0.9"/>
                                            </Path.RenderTransform>
                                        </Path>

                                        <Path Canvas.Left="16" Canvas.Top="20" Fill="#aaFFFFFF" Stroke="#FFFFFFFF">
                                            <Path.Data>
                                                <EllipseGeometry RadiusX="45" RadiusY="45" Center="50,50"/>
                                            </Path.Data>
                                        </Path>

                                        <Path Canvas.Left="16" Canvas.Top="20" RenderTransformOrigin="0.5,0.5" Fill="{StaticResource IconBrush1}" Data="M95.525,52.728C89.943,51.232 88.678,38.143 93.257,35.5 94.758,34.63 95.922,33.396 96.691,31.973 95.5,27.63 91.436,21.373 89.143,18.59 87.467,18.512 85.753,18.895 84.193,19.796 79.198,22.682 68.872,14.963 70.41,9.218 70.891,7.423 70.637,5.246 70.245,3.974 67.406,2.506 60.683,0.531 55.69,0.0420000000000003 54.614,0.825 53.382,2.718 52.902,4.525 51.273,10.6 38.382,11.483 35.617,6.695 34.694,5.095 32.994,3.605 31.819,3.115 28.589,4.094 21.57,8.163 18.731,10.512 18.927,12.176 18.965,14.109 19.919,15.759 22.682,20.548 15.199,31.197 9.28999999999999,29.614 7.34599999999999,29.094 5.30599999999999,29.242 3.64199999999999,29.927 2.271,32.963 0.196,40.97 0,44.2 0.392,45.081 2.729,46.628 4.598,47.128 12.641,49.284 12.704,61.079 6.877,64.443 5.231,65.394 3.821,66.714 3.234,68.379 4.213,71.511 8.147,78.397 10.692,81.334 12.356,81.529 14.289,81.102 15.94,80.147 21.144,77.14 31.552,84.211 29.793,90.778 29.336,92.487 29.589,94.285 29.882,96.048 33.798,97.712 40.882,100.053 44.798,99.955 46.07,98.78 46.855,97.143 47.302,95.472 48.842,89.724 61.555,87.89 64.559,93.094 65.398,94.549 66.573,95.93 67.943,96.713 72.054,95.538 79.281,91.494 81.731,88.949 81.827,87.09 81.127,85.537 80.257,84.027 77.01,78.408 84.595,68.569 90.832,70.241 92.54,70.697 94.4,70.543 95.967,70.152 97.337,66.725 99.609,60.603 99.999,55.513 98.629,53.947 97.329,53.212 95.525,52.728z M76.521,56.525C72.714,70.742 58.104,79.176 43.889,75.368 29.676,71.558 21.242,56.945 25.05,42.729 28.858,28.513 43.468,20.078 57.681,23.887 71.895,27.696 80.33,42.307 76.521,56.525z">
                                            <Path.RenderTransform>
                                                <ScaleTransform ScaleX="0.65" ScaleY="0.65"/>
                                            </Path.RenderTransform>
                                        </Path>
                                    </Canvas>
                                    -->
                                </Viewbox>
                            </ToggleButton>

                            <ToggleButton
                                x:Name="outlinesButton"
                                ToolTipService.ToolTip="{Binding OutlinesTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                Background="Transparent"
                                Style="{StaticResource ToolbarButtonStyle}"
                                Width="{StaticResource ButtonWidth}"
                                >
                                <Viewbox RenderTransformOrigin="0.5,0.5" Margin="0" Stretch="Fill">
                                    <Viewbox.RenderTransform>
                                        <TranslateTransform Y="1" />
                                    </Viewbox.RenderTransform>
                                    <Canvas Width="100" Height="100">
                                        <Rectangle Fill="{StaticResource IconBrush1}" RadiusX="0" RadiusY="0" Width="25" Height="10" Canvas.Left="0" Canvas.Top="2"/>   <!-- 24 -->
                                        <Rectangle Fill="{StaticResource IconBrush1}" RadiusX="0" RadiusY="0" Width="25" Height="10" Canvas.Left="20" Canvas.Top="26"/>
                                        <Rectangle Fill="{StaticResource IconBrush1}" RadiusX="0" RadiusY="0" Width="25" Height="10" Canvas.Left="20" Canvas.Top="50"/>
                                        <Rectangle Fill="{StaticResource IconBrush1}" RadiusX="0" RadiusY="0" Width="25" Height="10" Canvas.Left="20" Canvas.Top="74"/>

                                        <Rectangle Fill="{StaticResource IconBrush2}" RadiusX="0" RadiusY="0" Width="50" Height="8" Canvas.Left="35" Canvas.Top="3"/>
                                        <Rectangle Fill="{StaticResource IconBrush2}" RadiusX="0" RadiusY="0" Width="50" Height="8" Canvas.Left="50" Canvas.Top="27"/>
                                        <Rectangle Fill="{StaticResource IconBrush2}" RadiusX="0" RadiusY="0" Width="50" Height="8" Canvas.Left="50" Canvas.Top="51"/>
                                        <Rectangle Fill="{StaticResource IconBrush2}" RadiusX="0" RadiusY="0" Width="50" Height="8" Canvas.Left="50" Canvas.Top="75"/>
                                    </Canvas>
                                </Viewbox>
                            </ToggleButton>

                            <ToggleButton
                                x:Name="thumbnailsButton"
                                ToolTipService.ToolTip="{Binding ThumbnailsTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                Background="Transparent"
                                Style="{StaticResource ToolbarButtonStyle}"
                                Width="{StaticResource ButtonWidth}"
                                Margin="0,0,4,0"
                                >
                                <Viewbox RenderTransformOrigin="0.5,0.5" Margin="0" Stretch="Fill">
                                    <Viewbox.RenderTransform>
                                        <RotateTransform Angle="0"/>
                                    </Viewbox.RenderTransform>
                                    <Canvas Width="100" Height="100">
                                        <Path Canvas.Left="5" Canvas.Top="5" Fill="{StaticResource IconBrush2}" Data="M43.75,0L0,0 0,100 75,100 75,31.244 43.75,0z M12.5,87.5L12.5,12.5 37.5,12.5 37.5,37.5 62.5,37.5 62.5,87.5 12.5,87.5z">
                                            <Path.RenderTransform>
                                                <ScaleTransform ScaleX="0.4" ScaleY="0.4"/>
                                            </Path.RenderTransform>
                                        </Path>
                                        <Path Canvas.Left="55" Canvas.Top="5" Fill="{StaticResource IconBrush2}" Data="M43.75,0L0,0 0,100 75,100 75,31.244 43.75,0z M12.5,87.5L12.5,12.5 37.5,12.5 37.5,37.5 62.5,37.5 62.5,87.5 12.5,87.5z">
                                            <Path.RenderTransform>
                                                <ScaleTransform ScaleX="0.4" ScaleY="0.4"/>
                                            </Path.RenderTransform>
                                        </Path>
                                        <Path Canvas.Left="5" Canvas.Top="55" Fill="{StaticResource IconBrush2}" Data="M43.75,0L0,0 0,100 75,100 75,31.244 43.75,0z M12.5,87.5L12.5,12.5 37.5,12.5 37.5,37.5 62.5,37.5 62.5,87.5 12.5,87.5z">
                                            <Path.RenderTransform>
                                                <ScaleTransform ScaleX="0.4" ScaleY="0.4"/>
                                            </Path.RenderTransform>
                                        </Path>
                                        <Path Canvas.Left="55" Canvas.Top="55" Fill="{StaticResource IconBrush2}" Data="M43.75,0L0,0 0,100 75,100 75,31.244 43.75,0z M12.5,87.5L12.5,12.5 37.5,12.5 37.5,37.5 62.5,37.5 62.5,87.5 12.5,87.5z">
                                            <Path.RenderTransform>
                                                <ScaleTransform ScaleX="0.4" ScaleY="0.4"/>
                                            </Path.RenderTransform>
                                        </Path>
                                    </Canvas>
                                </Viewbox>
                            </ToggleButton>

                            <c1:C1ComboBox
                                x:Name="zoomCombo"
                                BorderBrush="{StaticResource BorderBrush}"
                                ButtonBackground="{StaticResource NormalBackground}"
                                ButtonForeground="{StaticResource ComboButtonForegroundBrush}"
                                FontSize="{StaticResource FontSize}"
                                Width="100"
                                DropDownWidth="108"
                                MaxDropDownHeight="500"
                                VerticalAlignment="Center"
                                Padding="2, 2"
                                ToolTipService.ToolTip="{Binding ZoomComboTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                >
                                <c1:C1ComboBox.ItemTemplate>
                                    <DataTemplate>
                                        <Grid>
                                            <Grid.Resources>
                                                <fv:FlexViewerZoomConverter x:Key="converter" />
                                            </Grid.Resources>
                                            <TextBlock Text="{Binding Converter={StaticResource converter}}" />
                                        </Grid>
                                    </DataTemplate>
                                </c1:C1ComboBox.ItemTemplate>
                            </c1:C1ComboBox>

                            <Menu
                                ToolTipService.ToolTip="{Binding LayoutMenuTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                VerticalAlignment="Center"
                                >
                                <MenuItem
                                    x:Name="menuLayout"
                                    Header="{Binding LayoutMenuHeader, Source={StaticResource Strings}}"
                                    Padding="6, 3, 7, 3"
                                    Margin="2, 2, 0, 2"
                                    FontSize="{StaticResource FontSize}"
                                    VerticalAlignment="Center"
                                    BorderThickness="0"
                                    >
                                    <MenuItem
                                        x:Name="menuRotateCW"
                                        Header="{Binding RotateCWMenuHeader, Source={StaticResource Strings}}"
                                        />
                                    <MenuItem
                                        x:Name="menuRotateCCW"
                                        Header="{Binding RotateCCWMenuHeader, Source={StaticResource Strings}}"
                                        />
                                    <Separator />
                                    <MenuItem
                                        x:Name="menuOnePage"
                                        Header="{Binding OnePageMenuHeader, Source={StaticResource Strings}}"
                                        />
                                    <MenuItem
                                        x:Name="menuFacingPages"
                                        Header="{Binding FacingPagesMenuHeader, Source={StaticResource Strings}}"
                                        />
                                    <MenuItem
                                        x:Name="menuTwoPages"
                                        Header="{Binding TwoPagesMenuHeader, Source={StaticResource Strings}}"
                                        />
                                    <MenuItem
                                        x:Name="menuFourPages"
                                        Header="{Binding FourPagesMenuHeader, Source={StaticResource Strings}}"
                                        />
                                    <Separator
                                        x:Name="wideSeparator"
                                        />
                                    <MenuItem
                                        x:Name="menuWideLayout"
                                        Header="{Binding WideLayoutMenuHeader, Source={StaticResource Strings}}"
                                        IsCheckable="True"
                                        />
                                </MenuItem>
                            </Menu>

                            <Button
                                x:Name="firstPageButton"
                                ToolTipService.ToolTip="{Binding FirstPageTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                Background="Transparent"
                                Style="{StaticResource ToolbarButtonStyle}"
                                Width="{StaticResource ButtonWidth}"
                                >
                                <Viewbox RenderTransformOrigin="0.5,0.5" Margin="0" Stretch="Fill">
                                    <Viewbox.RenderTransform>
                                        <RotateTransform Angle="180"/>
                                    </Viewbox.RenderTransform>
                                    <Canvas Width="100" Height="100">
                                        <Canvas>
                                            <Path RenderTransformOrigin="0.5, 0.5" Fill="{StaticResource IconBrush1}" Data="M79.674,53.719C82.264,51.673,82.264,48.327,79.674,46.282L22.566,1.053C19.977,-0.993,18,0.035,18,3.335L18,96.666C18,99.966,19.977,100.992,22.566,98.947L79.674,53.719z">
                                                <Path.RenderTransform>
                                                    <ScaleTransform ScaleX="0.6" ScaleY="0.7"/>
                                                </Path.RenderTransform>
                                            </Path>
                                        </Canvas>
                                        <Rectangle Fill="{StaticResource IconBrush1}" Width="10" Height="70" Canvas.Left="70" Canvas.Top="15"/>
                                    </Canvas>
                                </Viewbox>
                            </Button>
                            <Button
                                x:Name="previousPageButton"
                                ToolTipService.ToolTip="{Binding PreviousPageTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                Background="Transparent"
                                Style="{StaticResource ToolbarButtonStyle}"
                                Width="{StaticResource ButtonWidth}"
                                >
                                <Viewbox RenderTransformOrigin="0.5,0.5" Margin="0" Stretch="Fill">
                                    <Viewbox.RenderTransform>
                                        <RotateTransform Angle="180"/>
                                    </Viewbox.RenderTransform>
                                    <Canvas Width="100" Height="100">
                                        <Canvas>
                                            <Path Canvas.Left="10" RenderTransformOrigin="0.5, 0.5" Fill="{StaticResource IconBrush1}" Data="M79.674,53.719C82.264,51.673,82.264,48.327,79.674,46.282L22.566,1.053C19.977,-0.993,18,0.035,18,3.335L18,96.666C18,99.966,19.977,100.992,22.566,98.947L79.674,53.719z">
                                                <Path.RenderTransform>
                                                    <ScaleTransform ScaleX="0.6" ScaleY="0.7"/>
                                                </Path.RenderTransform>
                                            </Path>
                                        </Canvas>
                                    </Canvas>
                                </Viewbox>
                            </Button>
                            <TextBlock
                                Text="{Binding PageLabel, Source={StaticResource Strings}}"
                                FontSize="{StaticResource FontSize}"
                                VerticalAlignment="Center"
                                Margin="3,2,2,2"
                                />
                            <c1:C1TextBoxBase
                                x:Name="pageNumberTextBox"
                                TextAlignment="Right"
                                VerticalAlignment="Center"
                                FontSize="{StaticResource FontSize}"
                                Height="{StaticResource ButtonHeight}"
                                Width="43"
                                Margin="2 2 2 2"
                                Padding="2 3 2 1"
                                BorderBrush="{StaticResource BorderBrush}"
                                ToolTipService.ToolTip="{Binding PageNumberTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                />
                            <TextBlock
                                Text="/"
                                FontSize="{StaticResource FontSize}"
                                VerticalAlignment="Center"
                                Margin="2,2,2,2"
                                />
                            <TextBlock
                                x:Name="pageCountText"
                                ToolTipService.ToolTip="{Binding PageCountTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                FontSize="{StaticResource FontSize}"
                                VerticalAlignment="Center"
                                Margin="2,2,2,2"
                                />
                            <Button
                                x:Name="nextPageButton"
                                ToolTipService.ToolTip="{Binding NextPageTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                Background="Transparent"
                                Style="{StaticResource ToolbarButtonStyle}"
                                Width="{StaticResource ButtonWidth}"
                                >
                                <Viewbox RenderTransformOrigin="0.5,0.5" Margin="0" Stretch="Fill">
                                    <Viewbox.RenderTransform>
                                        <RotateTransform Angle="0"/>
                                    </Viewbox.RenderTransform>
                                    <Canvas Width="100" Height="100">
                                        <Canvas>
                                            <Path Canvas.Left="10" RenderTransformOrigin="0.5, 0.5" Fill="{StaticResource IconBrush1}" Data="M79.674,53.719C82.264,51.673,82.264,48.327,79.674,46.282L22.566,1.053C19.977,-0.993,18,0.035,18,3.335L18,96.666C18,99.966,19.977,100.992,22.566,98.947L79.674,53.719z">
                                                <Path.RenderTransform>
                                                    <ScaleTransform ScaleX="0.6" ScaleY="0.7"/>
                                                </Path.RenderTransform>
                                            </Path>
                                        </Canvas>
                                    </Canvas>
                                </Viewbox>
                            </Button>
                            <Button 
                                x:Name="lastPageButton"
                                ToolTipService.ToolTip="{Binding LastPageTooltip, Source={StaticResource Strings}}" 
                                ToolTipService.ShowOnDisabled="True"
                                Background="Transparent"
                                Style="{StaticResource ToolbarButtonStyle}" 
                                Width="{StaticResource ButtonWidth}"
                                >
                                <Viewbox RenderTransformOrigin="0.5,0.5" Margin="0" Stretch="Fill">
                                    <Viewbox.RenderTransform>
                                        <RotateTransform Angle="0"/>
                                    </Viewbox.RenderTransform>
                                    <Canvas Width="100" Height="100">
                                        <Canvas>
                                            <Path RenderTransformOrigin="0.5, 0.5" Fill="{StaticResource IconBrush1}" Data="M79.674,53.719C82.264,51.673,82.264,48.327,79.674,46.282L22.566,1.053C19.977,-0.993,18,0.035,18,3.335L18,96.666C18,99.966,19.977,100.992,22.566,98.947L79.674,53.719z">
                                                <Path.RenderTransform>
                                                    <ScaleTransform ScaleX="0.6" ScaleY="0.7"/>
                                                </Path.RenderTransform>
                                            </Path>
                                        </Canvas>
                                        <Rectangle Fill="{StaticResource IconBrush1}" Width="10" Height="70" Canvas.Left="70" Canvas.Top="15"/>
                                    </Canvas>
                                </Viewbox>
                            </Button>

                            <ToggleButton
                                x:Name="textSearchButton"
                                ToolTipService.ToolTip="{Binding FindTextTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                Background="Transparent"
                                Style="{StaticResource ToolbarButtonStyle}"
                                Width="{StaticResource ButtonWidth}"
                                >
                                <Viewbox RenderTransformOrigin="0.5,0.5" Margin="0" Stretch="Fill">
                                    <Viewbox.RenderTransform>
                                        <RotateTransform Angle="0"/>
                                    </Viewbox.RenderTransform>

                                    <Canvas Width="100" Height="100">
                                        <Path Canvas.Left="12" RenderTransformOrigin="0.5,0.5" Fill="{StaticResource IconBrush2}" >
                                            <Path.RenderTransform>
                                                <ScaleTransform ScaleX="0.9" ScaleY="0.9"/>
                                            </Path.RenderTransform>

                                            <Path.Data>
                                                <CombinedGeometry GeometryCombineMode="Exclude">
                                                    <!-- The 'page' image: -->
                                                    <CombinedGeometry.Geometry1>
                                                        M48.958,0L0,0 0,100 77.031,100 77.031,29.141 48.958,0z M50.273,13.047L63.489,26.771 50.273,26.771 50.273,13.047z M8.105,91.901L8.105,8.112 44.192,8.112 44.192,32.852 68.925,32.852 68.925,91.902 8.105,91.902z
                                                    </CombinedGeometry.Geometry1>
                                                    <!-- The round wipe: -->
                                                    <CombinedGeometry.Geometry2>
                                                        <EllipseGeometry RadiusX="45" RadiusY="45" Center="54,72"/>
                                                    </CombinedGeometry.Geometry2>
                                                </CombinedGeometry>
                                            </Path.Data>
                                        </Path>

                                        <!-- The 'magnifying glass' image: -->
                                        <Path Canvas.Left="16" Canvas.Top="20" RenderTransformOrigin="0.5,0.5" Fill="{StaticResource IconBrush1}">
                                            <Path.RenderTransform>
                                                <ScaleTransform ScaleX="0.65" ScaleY="0.65"/>
                                            </Path.RenderTransform>
                                            <Path.Data>
                                                M97.146,83.371L82.23,68.455C86.616,61.551 89.196,53.385 89.196,44.598 89.19,19.963 69.233,0.003 44.598,0 19.963,0.003 0.003,19.963 0,44.598 0.003,69.233 19.963,89.19 44.598,89.196 53.385,89.196 61.551,86.616 68.455,82.23L83.371,97.146C87.176,100.951 93.342,100.951 97.146,97.146 100.95,93.341 100.951,87.176 97.146,83.371z M23.594,65.602C18.209,60.203 14.899,52.823 14.894,44.599 14.899,36.374 18.209,28.995 23.594,23.595 28.993,18.21 36.373,14.9 44.598,14.895 52.822,14.9 60.202,18.21 65.601,23.595 70.984,28.994 74.296,36.374 74.301,44.599 74.296,52.823 70.984,60.203 65.601,65.602 60.202,70.985 52.822,74.297 44.598,74.302 36.374,74.297 28.994,70.984 23.594,65.602z
                                            </Path.Data>
                                        </Path>
                                    </Canvas>
                                </Viewbox>
                            </ToggleButton>

                            <ToggleButton
                                x:Name="selectToolButton"
                                ToolTipService.ToolTip="{Binding SelectToolTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                Background="Transparent"
                                Style="{StaticResource ToolbarButtonStyle}"
                                Width="{StaticResource ButtonWidth}"
                                >
                                <Viewbox RenderTransformOrigin="0.5,0.5" Margin="0" Stretch="Fill">
                                    <Canvas Width="16" Height="16">
                                        <Path Fill="{StaticResource IconBrush1}">
                                            <Path.Data>
                                                <PathGeometry Figures="M 10.75 15.337719 12 14.833333 12 8 12 1.1666667 10.75 0.6622807 9.5 0.15789474 l 3 0 3 0 L 14.25 0.6622807 13 1.1666667 13 8 l 0 6.833333 1.25 0.504386 1.25 0.504386 -3 0 -3 0 1.25 -0.504386 z m -7 -3 L 5 11.833333 5 7.9166667 5 4 3.5833333 4 2.1666667 4 1.6622807 5.25 1.1578947 6.5 1.0789474 4.75 1 3 5.5 3 10 3 9.9210526 4.75 9.8421053 6.5 9.3377193 5.25 8.8333333 4 7.4166667 4 6 4 l 0 3.9166667 0 3.9166663 1.25 0.504386 1.25 0.504386 -3 0 -3 0 1.25 -0.504386 z" FillRule="NonZero"/>
                                            </Path.Data>
                                        </Path>
                                        <Path Fill="{StaticResource IconBrush2}">
                                            <Path.Data>
                                                <PathGeometry Figures="M 3.75 12.337719 5 11.833333 5 7.9166667 5 4 3.5833333 4 2.1666667 4 1.6622807 5.25 1.1578947 6.5 1.0789474 4.75 1 3 5.5 3 10 3 9.9210526 4.75 9.8421053 6.5 9.3377193 5.25 8.8333333 4 7.4166667 4 6 4 l 0 3.9166667 0 3.9166663 1.25 0.504386 1.25 0.504386 -3 0 -3 0 1.25 -0.504386 z" FillRule="NonZero"/>
                                            </Path.Data>
                                        </Path>
                                    </Canvas>
                                </Viewbox>
                            </ToggleButton>

                            <Button
                                x:Name="exportButton"
                                ToolTipService.ToolTip="{Binding ExportTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                Background="Transparent"
                                Style="{StaticResource ToolbarButtonStyle}"
                                Width="{StaticResource ButtonWidth}"
                                >
                                <Viewbox RenderTransformOrigin="0.5,0.5" Margin="0" Stretch="Fill">
                                    <Viewbox.RenderTransform>
                                        <RotateTransform Angle="0"/>
                                    </Viewbox.RenderTransform>

                                    <Canvas Width="100" Height="100">
                                        <Path Canvas.Left="12" RenderTransformOrigin="0.5,0.5" Fill="{StaticResource IconBrush2}" >
                                            <Path.RenderTransform>
                                                <ScaleTransform ScaleX="0.9" ScaleY="0.9"/>
                                            </Path.RenderTransform>

                                            <Path.Data>
                                                <CombinedGeometry GeometryCombineMode="Exclude">
                                                    <!-- The 'page' image: -->
                                                    <CombinedGeometry.Geometry1>
                                                        M48.958,0L0,0 0,100 77.031,100 77.031,29.141 48.958,0z M50.273,13.047L63.489,26.771 50.273,26.771 50.273,13.047z M8.105,91.901L8.105,8.112 44.192,8.112 44.192,32.852 68.925,32.852 68.925,91.902 8.105,91.902z
                                                    </CombinedGeometry.Geometry1>
                                                    <!-- Wipe the top half, make space for arrow out: -->
                                                    <CombinedGeometry.Geometry2>
                                                        <RectangleGeometry Rect="0,0,100,40"/>
                                                    </CombinedGeometry.Geometry2>
                                                </CombinedGeometry>
                                            </Path.Data>
                                        </Path>
                                        <!-- Arrow up: -->
                                        <Path Canvas.Left="0" Canvas.Top="-24" RenderTransformOrigin="0.5,0.5" Fill="{StaticResource IconBrush1}">
                                            <Path.RenderTransform>
                                                <ScaleTransform ScaleX="0.6" ScaleY="0.6"/>
                                            </Path.RenderTransform>
                                            <Path.Data>
                                                M0,49.951L17.725,67.651C17.725,67.651,27.667,57.714,37.457,47.924L37.457,100 62.524,100 62.524,47.925 82.275,67.676 100,49.951 50.006,0 0,49.951z
                                            </Path.Data>
                                        </Path>
                                    </Canvas>
                                </Viewbox>
                            </Button>

                            <Button
                                x:Name="printButton"
                                ToolTipService.ToolTip="{Binding PrintTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                Background="Transparent"
                                Style="{StaticResource ToolbarButtonStyle}"
                                Width="{StaticResource ButtonWidth}"
                                >
                                <Viewbox RenderTransformOrigin="0.5,0.5" Margin="0">
                                    <Viewbox.RenderTransform>
                                        <RotateTransform Angle="0"/>
                                    </Viewbox.RenderTransform>
                                    <Canvas Width="100" Height="100">
                                        <Path Fill="{StaticResource IconBrush1}">
                                            <Path.Data>
                                                <EllipseGeometry RadiusX="4" RadiusY="4" Center="74.161,51.268" />
                                            </Path.Data>
                                        </Path>
                                        <Path Fill="{StaticResource IconBrush2}">
                                            <Path.Data>M82.111,36.287L76.09,36.287C76.098,36.143,76.111,36.001,76.111,35.855L76.111,20.353C76.111,15.935,72.529,12.353,68.111,12.353L32.084,12.353C27.666,12.353,24.084,15.935,24.084,20.353L24.084,35.855C24.084,36.001,24.098,36.143,24.105,36.287L18.084,36.287C13.666,36.287,10.084,39.869,10.084,44.287L10.084,69.185C10.084,73.603,13.666,77.185,18.084,77.185L24.084,77.185 24.084,80.855C24.084,85.273,27.666,88.855,32.084,88.855L68.111,88.855C72.529,88.855,76.111,85.273,76.111,80.855L76.111,77.185 82.111,77.185C86.529,77.185,90.111,73.603,90.111,69.185L90.111,44.287C90.111,39.868,86.529,36.287,82.111,36.287z M32.084,20.353L68.111,20.353 68.111,35.855 32.084,35.855 32.084,20.353z M68.111,69.185L68.111,77.185 68.111,80.855 32.084,80.855 32.084,77.185 32.084,69.185 32.084,65.353 68.111,65.353 68.111,69.185z M82.111,69.185L76.111,69.185 76.111,58.353 68.111,58.353 32.084,58.353 24.084,58.353 24.084,69.185 18.084,69.185 18.084,44.287 82.111,44.287 82.111,69.185z</Path.Data>
                                        </Path>
                                    </Canvas>
                                </Viewbox>
                            </Button>

                            <Button
                                x:Name="refreshButton"
                                ToolTipService.ToolTip="{Binding RefreshTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                Background="Transparent"
                                Style="{StaticResource ToolbarButtonStyle}"
                                Width="{StaticResource ButtonWidth}"
                                >
                                <Viewbox RenderTransformOrigin="0.5,0.5" Margin="0">
                                    <Viewbox.RenderTransform>
                                        <RotateTransform Angle="0"/>
                                    </Viewbox.RenderTransform>
                                    <Canvas Width="100" Height="100">
                                        <Path RenderTransformOrigin="0.5, 0.5" Fill="{StaticResource IconBrush2}" Data="M32.113,43.215C30.785,41.853,28.6,41.821,27.237,43.152L22.93,47.347C22.839,47.484 22.608,47.693 22.343,47.92 23.158,34.807 32.888,24.046 46.053,22.04 56.221,20.489 66.402,24.626 72.623,32.836 73.305,33.733 74.42,34.186 75.536,34.015 76.036,33.939 76.516,33.736 76.923,33.428 77.82,32.746 78.273,31.632 78.105,30.517 78.028,30.014 77.824,29.535 77.516,29.128 69.936,19.123 57.526,14.082 45.129,15.972 28.946,18.44 16.99,31.75 16.169,47.918 16.081,47.823 16.006,47.734 15.969,47.664L11.374,42.949C10.045,41.589 7.86,41.558 6.498,42.885 5.133,44.215 5.106,46.399 6.435,47.765L16.67,58.267C17.366,58.982 18.298,59.33 19.223,59.307 20.062,59.286 20.895,58.962 21.545,58.328L32.049,48.093C33.414,46.765,33.442,44.58,32.113,43.215z M19.342,52.538C19.383,52.537 19.423,52.534 19.463,52.53 19.425,52.577 19.386,52.577 19.342,52.538z">
                                            <Path.RenderTransform>
                                                <ScaleTransform ScaleX="1.1" ScaleY="1.1"/>
                                            </Path.RenderTransform>
                                        </Path>
                                        <Path RenderTransformOrigin="0.5, 0.5" Fill="{StaticResource IconBrush2}" Data="M93.564,52.401L83.331,41.898C82.635,41.185 81.702,40.836 80.777,40.858 79.938,40.878 79.103,41.205 78.455,41.837L67.949,52.072C66.585,53.403 66.556,55.588 67.886,56.952 69.215,58.312 71.399,58.347 72.761,57.015L77.071,52.819C77.155,52.692 77.361,52.502 77.602,52.295 76.694,65.311 66.996,75.965 53.903,77.962 43.734,79.511 33.553,75.375 27.334,67.166 26.652,66.268 25.537,65.816 24.422,65.986 23.922,66.061 23.441,66.264 23.034,66.573 22.136,67.254 21.683,68.37 21.853,69.485 21.93,69.986 22.134,70.466 22.441,70.873 30.022,80.878 42.431,85.919 54.829,84.028 70.972,81.566 82.908,68.312 83.778,52.196 83.892,52.311 83.987,52.421 84.031,52.504L88.626,57.219C89.956,58.579 92.14,58.61 93.5,57.283 94.867,55.952 94.894,53.768 93.564,52.401z">
                                            <Path.RenderTransform>
                                                <ScaleTransform ScaleX="1.1" ScaleY="1.1"/>
                                            </Path.RenderTransform>
                                        </Path>
                                    </Canvas>
                                </Viewbox>
                            </Button>

                            <Button
                                x:Name="stopOperationButton"
                                ToolTipService.ToolTip="{Binding StopOperationTooltip, Source={StaticResource Strings}}"
                                ToolTipService.ShowOnDisabled="True"
                                Background="Transparent"
                                Style="{StaticResource ToolbarButtonStyle}"
                                Width="{StaticResource ButtonWidth}"
                                >
                                <Viewbox RenderTransformOrigin="0.5,0.5" Margin="0">
                                    <Viewbox.RenderTransform>
                                        <RotateTransform Angle="0"/>
                                    </Viewbox.RenderTransform>
                                    <Canvas Width="100" Height="100">
                                        <Path RenderTransformOrigin="0.5, 0.5" Fill="{StaticResource IconBrush3}" Data="M0,11.581C0,5.185,5.185,0,11.582,0L88.418,0C94.815,0,100,5.185,100,11.581L100,88.418C100,94.814,94.815,100,88.418,100L11.582,100C5.185,100,0,94.814,0,88.418L0,11.581z">
                                            <Path.RenderTransform>
                                                <ScaleTransform ScaleX="0.6" ScaleY="0.6"/>
                                            </Path.RenderTransform>
                                        </Path>
                                    </Canvas>
                                </Viewbox>
                            </Button>

                        </StackPanel>

                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

</ResourceDictionary>
