TagElement.xaml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <UserControl
  2. x:Class="SHJX.Service.Librarys.MainLibrarys.TagElement"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:SHJX.Service.Librarys.MainLibrarys"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. xmlns:pu="clr-namespace:Panuon.UI.Silver;assembly=Panuon.UI.Silver"
  9. Margin="8,10"
  10. Cursor="Hand"
  11. mc:Ignorable="d">
  12. <UserControl.Resources>
  13. <ResourceDictionary>
  14. <ResourceDictionary.MergedDictionaries>
  15. <ResourceDictionary Source="pack://application:,,,/Panuon.UI.Silver;component/Control.xaml" />
  16. </ResourceDictionary.MergedDictionaries>
  17. </ResourceDictionary>
  18. </UserControl.Resources>
  19. <Viewbox>
  20. <Grid>
  21. <Grid.RowDefinitions>
  22. <RowDefinition Height="4*" />
  23. <RowDefinition Height="2*" />
  24. </Grid.RowDefinitions>
  25. <Button
  26. x:Name="btn_click"
  27. Grid.Row="0"
  28. Width="80"
  29. Height="80"
  30. Padding="0"
  31. HorizontalAlignment="Center"
  32. VerticalAlignment="Center"
  33. pu:ButtonHelper.ButtonStyle="Hollow"
  34. pu:ButtonHelper.ClickStyle="Sink"
  35. pu:ButtonHelper.CornerRadius="50"
  36. pu:ButtonHelper.HoverBrush="#66CCCC"
  37. Background="Transparent"
  38. BorderBrush="Transparent"
  39. Cursor="Hand">
  40. <Image
  41. x:Name="img_display"
  42. Width="60"
  43. Height="60" />
  44. </Button>
  45. <TextBlock
  46. x:Name="tb_tag_detail"
  47. Grid.Row="1"
  48. HorizontalAlignment="Center"
  49. VerticalAlignment="Center"
  50. FontFamily="幼圆"
  51. FontSize="20"
  52. FontWeight="UltraBold"
  53. Foreground="White" />
  54. </Grid>
  55. </Viewbox>
  56. </UserControl>