PDFToolItem.xaml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <UserControl
  2. x:Class="PDF_Master.Views.HomePanel.PDFTools.PDFToolItem"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:convert="clr-namespace:PDF_Master.DataConvert"
  6. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  7. xmlns:local="clr-namespace:PDF_Master.Views.HomePanel"
  8. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9. d:DesignHeight="450"
  10. d:DesignWidth="800"
  11. mc:Ignorable="d">
  12. <Border
  13. x:Name="BorderConcise"
  14. Height="68"
  15. Background="Transparent"
  16. CornerRadius="{StaticResource border-radius.8}">
  17. <Grid Margin="16" Background="Transparent">
  18. <Grid
  19. x:Name="GridToolMaskConcise"
  20. Grid.ColumnSpan="2"
  21. Background="#477EDE"
  22. Visibility="Collapsed" />
  23. <StackPanel VerticalAlignment="Center" Orientation="Horizontal">
  24. <Image
  25. Width="36"
  26. Height="36"
  27. HorizontalAlignment="Center"
  28. VerticalAlignment="Top"
  29. RenderOptions.BitmapScalingMode="HighQuality"
  30. Source="{Binding FnImg}"
  31. UseLayoutRounding="True" />
  32. <TextBlock
  33. Name="TxbTitleConcise"
  34. Margin="8,0,0,0"
  35. VerticalAlignment="Center"
  36. FontFamily="Segoe UI"
  37. FontSize="14"
  38. FontWeight="SemiBold"
  39. Text="{Binding FnName}" />
  40. </StackPanel>
  41. </Grid>
  42. </Border>
  43. </UserControl>