<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:C1.Xaml.Chart.Interaction">
    <SolidColorBrush x:Key="LineBrush" Color="{ThemeResource SystemBaseHighColor}"/>
    <Style TargetType="local:C1LineMarker">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="local:C1LineMarker">
                    <Border Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}">
                        <Canvas x:Name="Root">
                            <Line x:Name="VerticalLine" Fill="{StaticResource LineBrush}" Stroke="{StaticResource LineBrush}" IsHitTestVisible="False" />
                            <Line x:Name="HorizontalLine" Fill="{StaticResource LineBrush}" Stroke="{StaticResource LineBrush}" IsHitTestVisible="False" />
                            <Border x:Name="Content" Background="White" IsHitTestVisible="False" Margin="2" />
                        </Canvas>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>
