<UserControl
             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"
             mc:Ignorable="d" 
             d:DesignHeight="440" d:DesignWidth="627">
    <Grid x:Name="Root">
        <ScrollViewer VerticalScrollBarVisibility="Auto">
            <StackPanel>
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>

                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                    </Grid.ColumnDefinitions>

                    <Label Grid.Row="0" Grid.Column="0" Content="遊戲模式:Practice練習模式/Arena競技場/Constructed對戰模式/Friendly好友對戰"  Margin="3,5,3,1" ToolTipService.ToolTip="The game mode to use."/>
                    <ComboBox x:Name="GameModeComboBox" Grid.Row="0" Grid.Column="1" Margin="3" IsEditable="False" />

                    <Label Grid.Row="1" Grid.Column="0" Content="自動打招呼"  Margin="3,5,3,1" ToolTipService.ToolTip="Should the bot auto-greet opponents?"/>
                    <CheckBox x:Name="AutoGreetCheckBox" Grid.Row="1" Grid.Column="1" Margin="3"/>
                </Grid>
                
                <Grid>
                    <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>

                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                    </Grid.ColumnDefinitions>

                    <Label Grid.Row="0" Grid.Column="0" Content="隱藏非選定的模式設置"  Margin="3,5,3,1" ToolTipService.ToolTip="Should the GUI hide inactive game mode settings?"/>
                    <CheckBox x:Name="HideInactiveGameModeCheckBox" Grid.Row="0" Grid.Column="1" Margin="3"/>
                </Grid>
                
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>

                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                    </Grid.ColumnDefinitions>

                    <Button x:Name="RecacheCustomDecksButton" Content="重新查看" Grid.Row="0" Grid.Column="2" Margin="3,5,3,1" ToolTipService.ToolTip="Click this button to tell the bot to recache custom decks."/>
                    <Label Grid.Row="0" Grid.Column="0" Content="查看自定義卡組"  Margin="3,5,3,1" ToolTipService.ToolTip="The current stored setting for this property."/>
                    <CheckBox x:Name="NeedsToCacheCustomDecksCheckBox" Grid.Row="0" Grid.Column="1" Margin="3" IsEnabled="False"/>

                    <Button x:Name="RecacheQuestsButton" Content="重新查看" Grid.Row="1" Grid.Column="2" Margin="3,5,3,1" ToolTipService.ToolTip="Click this button to tell the bot to recache quests."/>
                    <Label Grid.Row="1" Grid.Column="0" Content="查看任務"  Margin="3,5,3,1" ToolTipService.ToolTip="The current stored setting for this property."/>
                    <CheckBox x:Name="NeedsToCacheQuestsCheckBox" Grid.Row="1" Grid.Column="1" Margin="3" IsEnabled="False"/>

					<Label Grid.Row="2" Grid.Column="0" Content="允許輔助出錯重啓"  Margin="3,5,3,1" ToolTipService.ToolTip="Does the client need to be restarted from running too long."/>
					<CheckBox x:Name="ClientBrokenCheckBox" Grid.Row="2" Grid.Column="1" Margin="3" IsEnabled="False"/>
				</Grid>
                
                <Grid>
                    <TabControl x:Name="GameModeSettingsTab">
                        <TabItem Header="Practice" Height="22" VerticalAlignment="Top" IsSelected="True">
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                </Grid.RowDefinitions>

                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                </Grid.ColumnDefinitions>

                                <Label Grid.Row="0" Grid.Column="0" Content="難度:普通Normal/專家Expert"  Margin="3,5,3,1" ToolTipService.ToolTip="The practice game difficulty."/>
                                <ComboBox x:Name="PracticeDifficultyComboBox" Grid.Row="0" Grid.Column="1" Margin="3" IsEditable="False" />

								<Label Grid.Row="3" Grid.Column="0" Content="自定義卡組名稱"  Margin="3,5,3,1" ToolTipService.ToolTip="請填寫練習模式自定義卡組名稱,不要填錯了,否則輔助不會正常運行."/>
                                <TextBox x:Name="PracticeCustomDeckTextBox" Grid.Row="3" Grid.Column="1" Margin="3"/>

                                <Label Grid.Row="4" Grid.Column="0" Content="選擇對手職業:德猎法骑牧贼萨术战"  Margin="3,5,3,1" ToolTipService.ToolTip="The AI opponent to play against for practice games."/>
                                <ComboBox x:Name="PracticeOpponentClassComboBox" Grid.Row="4" Grid.Column="1" Margin="3" IsEditable="False" />
                            </Grid>
                        </TabItem>
                        
                        <TabItem Header="Arena" Height="22" VerticalAlignment="Top" IsSelected="True">
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                </Grid.RowDefinitions>

                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                </Grid.ColumnDefinitions>

                                <Label Grid.Row="0" Grid.Column="0" Content="不自動選牌"  Margin="3,5,3,1" ToolTipService.ToolTip="Should the bot stop to avoid drafting arena?"/>
                                <CheckBox x:Name="ArenaDontDraftCheckBox" Grid.Row="0" Grid.Column="1" Margin="3"/>

                                <Label Grid.Row="1" Grid.Column="0" Content="不打開獎勵"  Margin="3,5,3,1" ToolTipService.ToolTip="Should the bot stop to avoid opening arena rewards?"/>
                                <CheckBox x:Name="ArenaDontOpenRewardsCheckBox" Grid.Row="1" Grid.Column="1" Margin="3"/>
                            </Grid>
                        </TabItem>

                        <TabItem Header="Constructed" Height="22" VerticalAlignment="Top" IsSelected="True">
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                </Grid.RowDefinitions>

                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                </Grid.ColumnDefinitions>

                                <Label Grid.Row="0" Grid.Column="0" Content="模式:Casual休閑模式/Ranked排名模式"  Margin="3,5,3,1" ToolTipService.ToolTip="The game mode to use for constructed games."/>
                                <ComboBox x:Name="ConstructedModeComboBox" Grid.Row="0" Grid.Column="1" Margin="3" IsEditable="False" />

								<Label Grid.Row="1" Grid.Column="0" Content="Ruleset"  Margin="3,5,3,1" ToolTipService.ToolTip="The ruleset to use for constructed games."/>
								<ComboBox x:Name="ConstructedRulesComboBox" Grid.Row="1" Grid.Column="1" Margin="3" IsEditable="False" />

								<Label Grid.Row="3" Grid.Column="0" Content="自定義卡組名稱"  Margin="3,5,3,1" ToolTipService.ToolTip="請填寫對戰模式自定義卡組名稱,不要填錯了,否則輔助不會正常運行."/>
                                <TextBox x:Name="ConstructedCustomDeckTextBox" Grid.Row="3" Grid.Column="1" Margin="3"/>

                                <Label Grid.Row="4" Grid.Column="0" Content="保持當前天梯等級"  Margin="3,5,3,1" ToolTipService.ToolTip="Should the bot auto concede after winning a constructed game?"/>
                                <CheckBox x:Name="AutoConcedeAfterConstructedWinCheckBox" Grid.Row="4" Grid.Column="1" Margin="3"/>
                            </Grid>
                        </TabItem>

                        <TabItem Header="Friendly" Height="22" VerticalAlignment="Top" IsSelected="True">
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                </Grid.RowDefinitions>

                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                </Grid.ColumnDefinitions>

								<Label Grid.Row="2" Grid.Column="0" Content="自定義卡組名稱"  Margin="3,5,3,1" ToolTipService.ToolTip="The name of the custom deck to use for friendly games."/>
                                <TextBox x:Name="FriendlyCustomDeckTextBox" Grid.Row="2" Grid.Column="1" Margin="3"/>

                                <Label Grid.Row="3" Grid.Column="0" Content="接受好友對戰的名字"  Margin="3,5,3,1" ToolTipService.ToolTip="The name of a player to accept friendly invites from."/>
                                <TextBox x:Name="FriendlyAllowedNameTextBox" Grid.Row="3" Grid.Column="1" Margin="3"/>
                            </Grid>
                        </TabItem>

                        <TabItem Header="Spectate" Height="22" VerticalAlignment="Top" IsSelected="True">
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                </Grid.RowDefinitions>

                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="Auto" />
                                    <ColumnDefinition Width="Auto" />
                                </Grid.ColumnDefinitions>

                                <Label Grid.Row="0" Grid.Column="0" Content="對隨機好友觀戰"  Margin="3,5,3,1" ToolTipService.ToolTip="Should the Spectate mode select a random player to watch?"/>
								<CheckBox x:Name="SpectateRandomFriendCheckBox" Grid.Row="0" Grid.Column="1" Margin="3" IsEnabled="False"/>
                                
                                <Label Grid.Row="1" Grid.Column="0" Content="指定觀戰好友名"  Margin="3,5,3,1" ToolTipService.ToolTip="The name of a specific player to spectate."/>
                                <TextBox x:Name="SpectateAllowedNameTextBox" Grid.Row="1" Grid.Column="1" Margin="3" IsEnabled="False"/>
                                
                            </Grid>
                        </TabItem>

                    </TabControl>
                </Grid>
            </StackPanel>
        </ScrollViewer>
    </Grid>
</UserControl>
