PDFToolExpendItem.xaml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <UserControl
  2. x:Class="PDF_Master.Views.HomePanel.PDFTools.PDFToolExpendItem"
  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.PDFTools"
  8. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  9. d:DesignHeight="450"
  10. d:DesignWidth="800"
  11. mc:Ignorable="d">
  12. <UserControl.Resources />
  13. <Border
  14. x:Name="BorderExtend"
  15. Height="116"
  16. Background="Transparent">
  17. <Grid Margin="16 16 16 0">
  18. <Grid.RowDefinitions>
  19. <RowDefinition Height="36" />
  20. <RowDefinition Height="*" />
  21. </Grid.RowDefinitions>
  22. <StackPanel Orientation="Horizontal">
  23. <Image
  24. Width="36"
  25. Height="36"
  26. HorizontalAlignment="Center"
  27. RenderOptions.BitmapScalingMode="HighQuality"
  28. Source="{Binding FnImg}"
  29. UseLayoutRounding="True" />
  30. <TextBlock
  31. Name="TxbTitle"
  32. Margin="8,0,0,0"
  33. VerticalAlignment="Center"
  34. FontFamily="Segoe UI"
  35. FontSize="14"
  36. FontWeight="SemiBold"
  37. Foreground="Black"
  38. Text="{Binding FnName}" />
  39. </StackPanel>
  40. <TextBlock
  41. Name="ToolInfoBlock"
  42. Grid.Row="1"
  43. Margin="0,8,0,2"
  44. VerticalAlignment="Center"
  45. FontSize="12"
  46. Foreground="#666666"
  47. LineHeight="16"
  48. Text="{Binding FnInfo}"
  49. TextWrapping="Wrap" />
  50. </Grid>
  51. </Border>
  52. </UserControl>