<UserControl x:Class="PDF_Office.Views.EditTools.Background.BackgroundBarContent"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:prism="http://prismlibrary.com/"             
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             prism:ViewModelLocator.AutoWireViewModel="True"
                          Height="40" Width="1280">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="../../../Styles/CustomBtnStyle.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid>
        <Border x:Name="ToolsBorder" BorderBrush="#1A000000" BorderThickness="0,1,0,1" Height="40">
            <WrapPanel HorizontalAlignment="Center" Height="40">
                <Button Style="{StaticResource InsideBarBtnStyle }" Command="{Binding CompressCommand}">

                    <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
                        <StackPanel Margin="0,0,8,0">
                            <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
                        </StackPanel >
                        <TextBlock Text="添加背景" VerticalAlignment="Center"></TextBlock>
                    </StackPanel>
                </Button>
                <Button Style="{StaticResource InsideBarBtnStyle }" Command="{Binding CompressCommand}">

                    <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
                        <StackPanel Margin="0,0,8,0">
                            <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
                        </StackPanel >
                        <TextBlock Text="移除" VerticalAlignment="Center"></TextBlock>
                    </StackPanel>
                </Button>

                <Label Height="10" Width="1" Background="LightGray"></Label>
                
                <Button Style="{StaticResource InsideBarBtnStyle }" Command="{Binding CompressCommand}">
                    <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
                        <StackPanel Margin="0,0,8,0">
                            <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
                        </StackPanel >
                        <TextBlock Text="批量" VerticalAlignment="Center"></TextBlock>
                    </StackPanel>
                </Button>
            </WrapPanel>
        </Border>
        <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
            <Button Content="应用" Height="24" Width="44"></Button>
            <Button Content="关闭" Height="24" Width="44" Margin="16,0,16,0"></Button>
        </StackPanel>
    </Grid>
    
</UserControl>