<UserControl
    x:Class="PicView.Views.UserControls.PicGallery"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:UserControls="clr-namespace:PicView.Views.UserControls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    d:DesignHeight="300"
    d:DesignWidth="300"
    mc:Ignorable="d">
    <Border
        x:Name="border"
        Background="{StaticResource BackgroundColorBrushFade}"
        BorderBrush="{StaticResource BorderBrush}"
        BorderThickness="1,0,1,0">
        <Grid x:Name="grid">
            <UserControls:X2
                x:Name="x2"
                HorizontalAlignment="Right"
                VerticalAlignment="Top"
                Panel.ZIndex="1" />
            <ScrollViewer
                x:Name="Scroller"
                FocusVisualStyle="{x:Null}"
                Focusable="False"
                HorizontalScrollBarVisibility="Visible"
                VerticalScrollBarVisibility="Disabled">
                <WrapPanel
                    x:Name="Container"
                    Background="Transparent"
                    FocusVisualStyle="{x:Null}"
                    Focusable="False"
                    Orientation="Vertical"
                    VirtualizingPanel.VirtualizationMode="Recycling" />
            </ScrollViewer>
        </Grid>
    </Border>
</UserControl>