<UserControl
    x:Class="PicView.Views.UserControls.MenuCloseButton"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Button
        x:Name="TheButton"
        Width="51"
        Height="51"
        VerticalAlignment="Center"
        BorderThickness="0"
        DockPanel.Dock="Right"
        FocusVisualStyle="{x:Null}"
        Focusable="False"
        ToolTip="{StaticResource Close}">
        <Button.Background>
            <SolidColorBrush x:Name="CloseButtonBrush" Color="{StaticResource BackgroundColorAlt}" />
        </Button.Background>
        <Path
            Width="10"
            Height="10"
            Data="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
            SnapsToDevicePixels="True"
            Stretch="Fill">
            <Path.Fill>
                <SolidColorBrush x:Name="IconBrush" Color="{StaticResource IconColor}" />
            </Path.Fill>
        </Path>
    </Button>
</UserControl>