<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:local="clr-namespace:HistoryWallEditTool"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:mui="http://firstfloorsoftware.com/ModernUI"
    x:Name="uxMainWindow"
    MouseDown="uxMainWindow_MouseDown"
    MouseUp="uxMainWindow_MouseUp"
    x:Class="HistoryWallEditTool.HistoryWall">

    <Grid Width="1920">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="101*" />
                <RowDefinition Height="34*" />
            </Grid.RowDefinitions>
            <Grid
                Grid.RowSpan="2"
                Width="1920"
                Margin="0,10,0,-10">
                <Grid.RowDefinitions>
                    <RowDefinition Height="104*" />
                    <RowDefinition Height="844*" />
                    <RowDefinition Height="108*" />
                </Grid.RowDefinitions>
                <Grid.Background>
                    <ImageBrush ImageSource="/HistoryWallEditTool;component/Image/bg.jpg" />
                </Grid.Background>

                <Grid Grid.Row="0" VerticalAlignment="Center">
                    <RadioButton
                        x:Name="uxDisplaySettingBtn"
                        Width="238"
                        Height="65"
                        Margin="660,10,0,0"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        Checked="uxDisplaySettingBtn_Checked"
                        Content="{DynamicResource displaysetting}"
                        Style="{StaticResource uxTopRadioButton}" />
                    <RadioButton
                        x:Name="uxDataSettingBtn"
                        Width="238"
                        Height="65"
                        Margin="920,10,0,0"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        Checked="uxDataSettingBtn_Checked"
                        Content="{DynamicResource datasetting}"
                        Style="{StaticResource uxTopRadioButton}" />
                    <RadioButton
                        x:Name="uxLaunchBtn"
                        Width="238"
                        Height="65"
                        Margin="1050,10,0,0"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        Checked="uxLaunchBtn_Checked"
                        Content="{DynamicResource launchhistorywall}"
                        Style="{StaticResource uxTopRadioButton}"
                        Visibility="Collapsed" />

                    <!--  切換時間軸與分類軸  -->
                    <!--<StackPanel VerticalAlignment="Top" HorizontalAlignment="Left" Orientation="Vertical" Width="100" Height="60" Margin="1300,34,0,0">
                    <RadioButton x:Name="uxTimelineChk" Tag="TimeLine" Checked="uxlineChk_Checked" Height="26"
                                 Content="{DynamicResource timeline}" Style="{StaticResource uxTimelineRadioButton}" VerticalAlignment="Top"
                                 HorizontalAlignment="Left" Margin="0,2,0,5" />
                    <RadioButton x:Name="uxClasslineChk" Tag="ClassLine" Checked="uxlineChk_Checked" Height="26"
                                 Content="{DynamicResource classline}" Style="{StaticResource uxTimelineRadioButton}" VerticalAlignment="Top"
                                 HorizontalAlignment="Left" />
                </StackPanel>-->
                    <!--  切換時間軸與分類軸 end  -->

                    <!--  視窗關閉與最小化  -->
                    <!--
                    <Button x:Name="uxWinCloseBtn" Style="{StaticResource uxWindow_Close}" Width="50" Height="50" Margin="1810,38,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" ToolTip="{DynamicResource winclose}"  Click="uxWinCloseBtn_Click"></Button>
                    <Button x:Name="uxWinMiniBtn" Style="{StaticResource uxWindow_Miniscreen}" Width="50" Height="50" Margin="1735,38,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" ToolTip="{DynamicResource winmini}"    Click="uxWinMiniBtn_Click"></Button>
                    -->
                    <!--  視窗關閉與最小化 end  -->

                    <!--  切換顯示語系  -->
                    <StackPanel
                        Margin="1297,23,0,0"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        Orientation="Vertical"
                        Visibility="Collapsed">
                        <RadioButton
                            x:Name="uxLangChi"
                            Width="110"
                            Height="40"
                            Checked="SysLanChange_Checked"
                            Content="{DynamicResource languagechi}"
                            Style="{StaticResource uxTimelineRadioButton}"
                            Tag="zh-TW" />
                        <RadioButton
                            x:Name="uxLangEng"
                            Width="110"
                            Height="40"
                            Checked="SysLanChange_Checked"
                            Content="{DynamicResource languageeng}"
                            Style="{StaticResource uxTimelineRadioButton}"
                            Tag="en-US" />
                    </StackPanel>
                    <!--  切換顯示語系 end  -->

                    <!--  切換要設定歷史牆的語系  -->
                    <!--  Margin="659,101,0,0"  -->
                    <StackPanel
                        x:Name="LanInfo"
                        Margin="1297,23,0,0"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        Orientation="Horizontal"
                        Visibility="Collapsed">
                        <RadioButton
                            x:Name="uxLangOne"
                            Width="110"
                            Height="40"
                            Checked="HisEventLanChange_Checked"
                            Style="{StaticResource uxTopRadioButton}"
                            Tag="EventLangOne"
                            Visibility="Visible" />
                        <RadioButton
                            x:Name="uxLangTwo"
                            Width="110"
                            Height="40"
                            Margin="20,0,0,0"
                            Checked="HisEventLanChange_Checked"
                            Style="{StaticResource uxTopRadioButton}"
                            Tag="EventLangTwo"
                            Visibility="Visible" />
                        <RadioButton
                            x:Name="uxLangThree"
                            Width="110"
                            Height="40"
                            Margin="20,0,0,0"
                            Checked="HisEventLanChange_Checked"
                            Style="{StaticResource uxTopRadioButton}"
                            Tag="EventLangThree"
                            Visibility="Collapsed" />
                        <RadioButton
                            x:Name="uxLangFour"
                            Width="110"
                            Height="40"
                            Margin="20,0,0,0"
                            Checked="HisEventLanChange_Checked"
                            Style="{StaticResource uxTopRadioButton}"
                            Tag="EventLangFour"
                            Visibility="Collapsed" />
                    </StackPanel>
                    <!--  切換要設定歷史牆的語系 end  -->

                    <StackPanel
                        Margin="1297,0,0,0"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        Orientation="Horizontal"
                        Visibility="Collapsed">
                        <TextBlock Text="選擇顯示語系進行編輯：" />
                        <Rectangle Width="20" />
                        <TextBlock Text="(資料個數與事件多媒體為同步)" Foreground="Red" />
                    </StackPanel>

                </Grid>

                <Grid
                    x:Name="uxContainer"
                    Grid.Row="1"
                    HorizontalAlignment="Center" />

            </Grid>
            <Grid
                x:Name="uxDataUpdateGd"
                Grid.RowSpan="2"
                Background="#AA000000"
                Visibility="Collapsed">
                <TextBlock
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center"
                    Text="{DynamicResource dataUpgrade}"
                    FontSize="48"
                    Foreground="White" />
            </Grid>
        </Grid>

    </Grid>

</UserControl>
