BackgroundBarContent.xaml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <UserControl x:Class="PDF_Office.Views.EditTools.Background.BackgroundBarContent"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:prism="http://prismlibrary.com/"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. prism:ViewModelLocator.AutoWireViewModel="True"
  7. Height="40" Width="1280">
  8. <UserControl.Resources>
  9. <ResourceDictionary>
  10. <ResourceDictionary.MergedDictionaries>
  11. <ResourceDictionary Source="../../../Styles/CustomBtnStyle.xaml"/>
  12. </ResourceDictionary.MergedDictionaries>
  13. </ResourceDictionary>
  14. </UserControl.Resources>
  15. <Grid>
  16. <Border x:Name="ToolsBorder" BorderBrush="#1A000000" BorderThickness="0,1,0,1" Height="40">
  17. <WrapPanel HorizontalAlignment="Center" Height="40">
  18. <Button Style="{StaticResource InsideBarBtnStyle }" Command="{Binding CompressCommand}">
  19. <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
  20. <StackPanel Margin="0,0,8,0">
  21. <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
  22. </StackPanel >
  23. <TextBlock Text="添加背景" VerticalAlignment="Center"></TextBlock>
  24. </StackPanel>
  25. </Button>
  26. <Button Style="{StaticResource InsideBarBtnStyle }" Command="{Binding CompressCommand}">
  27. <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
  28. <StackPanel Margin="0,0,8,0">
  29. <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
  30. </StackPanel >
  31. <TextBlock Text="移除" VerticalAlignment="Center"></TextBlock>
  32. </StackPanel>
  33. </Button>
  34. <Label Height="10" Width="1" Background="LightGray"></Label>
  35. <Button Style="{StaticResource InsideBarBtnStyle }" Command="{Binding CompressCommand}">
  36. <StackPanel Orientation="Horizontal" Margin="12 0 12 0">
  37. <StackPanel Margin="0,0,8,0">
  38. <Border Height="30" Width="30" Background="LightSeaGreen" ></Border>
  39. </StackPanel >
  40. <TextBlock Text="批量" VerticalAlignment="Center"></TextBlock>
  41. </StackPanel>
  42. </Button>
  43. </WrapPanel>
  44. </Border>
  45. <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
  46. <Button Content="应用" Height="24" Width="44"></Button>
  47. <Button Content="关闭" Height="24" Width="44" Margin="16,0,16,0"></Button>
  48. </StackPanel>
  49. </Grid>
  50. </UserControl>