<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:c1="using:C1.Xaml" >

    <Style TargetType="c1:C1GridSplitter">
        <Setter Property="Background" Value="{ThemeResource FlipViewButtonBackgroundThemeBrush}" />
        <Setter Property="Foreground" Value="{ThemeResource FlipViewButtonForegroundThemeBrush}" />
        <Setter Property="PreviewStyle">
            <Setter.Value>
                <Style TargetType="Control">
                    <Setter Property="Background" Value="#FF868686"/>
                    <Setter Property="Template">
                        <Setter.Value>
                            <ControlTemplate TargetType="Control">
                                <Grid x:Name="Root" Opacity=".5" Background="{TemplateBinding Background}">
                                    <Grid x:Name="HorizontalTemplate" Height="6"/>
                                    <Grid x:Name="VerticalTemplate" Visibility="Collapsed" Width="6"/>
                                </Grid>
                            </ControlTemplate>
                        </Setter.Value>
                    </Setter>
                </Style>
            </Setter.Value>
        </Setter>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="c1:C1GridSplitter">
                    <Grid Background="{TemplateBinding Background}">
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="FocusStates">
                                <VisualState x:Name="Focused">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" To="1" Storyboard.TargetName="FocusVisualWhite"
                                            Storyboard.TargetProperty="Opacity" />
                                        <DoubleAnimation Duration="0" To="1" Storyboard.TargetName="FocusVisualBlack"
                                            Storyboard.TargetProperty="Opacity" />
                                    </Storyboard>
                                </VisualState>
                                <VisualState x:Name="Unfocused" />
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" />
                        <StackPanel x:Name="HorizontalTemplate" VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Horizontal">
                            <Ellipse Width="6" Height="6" Margin="2" Fill="{TemplateBinding Foreground}" />
                            <Ellipse Width="6" Height="6" Margin="2" Fill="{TemplateBinding Foreground}" />
                            <Ellipse Width="6" Height="6" Margin="2" Fill="{TemplateBinding Foreground}" />
                        </StackPanel>
                        <StackPanel x:Name="VerticalTemplate" VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Vertical"  Visibility="Collapsed" >
                            <Ellipse Width="6" Height="6" Margin="2" Fill="{TemplateBinding Foreground}" />
                            <Ellipse Width="6" Height="6" Margin="2" Fill="{TemplateBinding Foreground}" />
                            <Ellipse Width="6" Height="6" Margin="2" Fill="{TemplateBinding Foreground}" />
                        </StackPanel>
                        <Rectangle x:Name="FocusVisualWhite" IsHitTestVisible="False" Opacity="0"
                            StrokeDashOffset="1.5" StrokeEndLineCap="Square" StrokeDashArray="1,1"
                            Stroke="{ThemeResource FocusVisualWhiteStrokeThemeBrush}"/>
                        <Rectangle x:Name="FocusVisualBlack" IsHitTestVisible="False" Opacity="0"
                            StrokeDashOffset="0.5" StrokeEndLineCap="Square" StrokeDashArray="1,1"
                            Stroke="{ThemeResource FocusVisualBlackStrokeThemeBrush}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

</ResourceDictionary>
