<UserControl x:Class="HistoryView.Views.Dialogs.SettingDialog"
             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" 
             xmlns:local="clr-namespace:HistoryView.Views.Dialogs"
             mc:Ignorable="d" 
             xmlns:prism="http://prismlibrary.com/"
             prism:ViewModelLocator.AutoWireViewModel="True">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition Height="auto"/>
        </Grid.RowDefinitions>
        <TabControl Grid.Row="0" BorderBrush="Transparent" Background="Transparent">
            <TabItem Style="{StaticResource TabTheme}">
                <TabItem.Header>Mini8</TabItem.Header>
            </TabItem>

            <TabItem Style="{StaticResource TabTheme}">
                <TabItem.Header>设置</TabItem.Header>
            </TabItem>
        </TabControl>

        <Grid Grid.Row="1" HorizontalAlignment="Right"  Margin="16">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="auto"/>
                <ColumnDefinition Width="16"/>
                <ColumnDefinition Width="auto"/>
            </Grid.ColumnDefinitions>

            <Button Grid.Column="2" Style="{StaticResource FunctionButton}" Command="{Binding ExitCommand}">
                <StackPanel Orientation="Horizontal">
                    <Image Source="{StaticResource Icon_Reset}" Height="16" Margin="8,2"/>
                    <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" Margin="8,2">返回</TextBlock>
                </StackPanel>
            </Button>
        </Grid>
        
    </Grid>
</UserControl>
