<UserControl x:Class="HistoryDLL.CyclicScroller"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             PreviewTouchDown="Window_PreviewTouchDown" PreviewTouchUp="Window_PreviewTouchUp">

    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="Style.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    
    <Grid x:Name="uxMainWindow">
        <Image x:Name="uxBackGroundImg" RenderOptions.BitmapScalingMode="HighQuality" Stretch="Uniform" />
        <Image x:Name="uxLeftLogoMap" VerticalAlignment="Top" Height="133" Width="337" HorizontalAlignment="Left" Margin="50,50,0,0" Stretch="Uniform" Visibility="Collapsed"></Image>
        <Image x:Name="uxRightLogoMap" VerticalAlignment="Top" HorizontalAlignment="Right" Height="133" Width="337" Margin="0,50,50,0" Stretch="Uniform" Visibility="Collapsed"></Image>
        <Grid x:Name="uxCyclicGrid" Opacity="1">
            <ScrollViewer Name="uxMyScroll" ScrollViewer.CanContentScroll="False" VerticalScrollBarVisibility="Hidden" HorizontalScrollBarVisibility="Hidden" Visibility="Visible" HorizontalAlignment="Left" Margin="0,0,0,245" VerticalAlignment="Bottom" IsManipulationEnabled="True" 
                          ManipulationStarted="uxMyScroll_ManipulationStarted" ManipulationDelta="uxMyScroll_ManipulationDelta" ManipulationInertiaStarting="uxMyScroll_ManipulationInertiaStarting" ManipulationCompleted="uxMyScroll_ManipulationCompleted" ScrollChanged="uxMyScroll_ScrollChanged">
                <StackPanel Name="uxMyStackPanel" VerticalAlignment="Bottom" Orientation="Horizontal" HorizontalAlignment="Left" >
                </StackPanel>
            </ScrollViewer>
        </Grid>

        <StackPanel Orientation="Horizontal" Width="250" Height="100" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="0,0,0,10">
            <Button x:Name="uxHomeBtnL" Width="73" Height="70" Margin="10" Visibility="Collapsed" Click="HomeBtn_Click" Style="{StaticResource homeSwitchBtn}">
            </Button>
            <Button x:Name="uxMainLangBtnL" Width="133" Height="44" Margin="10" Visibility="Collapsed" Click="ChangeLangBtn_Click" Style="{StaticResource languageSwitchBtn}">
            </Button>
        </StackPanel>

        <StackPanel Orientation="Horizontal" Width="250" Height="100" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,0,10" FlowDirection="RightToLeft">
            <Button x:Name="uxHomeBtnR" Width="73" Height="70" Margin="10" Visibility="Collapsed" Click="HomeBtn_Click" Style="{StaticResource homeSwitchBtn}">
            </Button>
            <Button x:Name="uxMainLangBtnR" Width="133" Height="44" Margin="10" Visibility="Collapsed" Click="ChangeLangBtn_Click" Style="{StaticResource languageSwitchBtn}">
            </Button>
        </StackPanel>
    </Grid>
</UserControl>
