GlobalMsgNotification.xaml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <Border x:Class="GeekDesk.Control.Other.GlobalMsgNotification"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:hc="https://handyorg.github.io/handycontrol"
  5. BorderThickness="0"
  6. Style="{StaticResource BorderBG}"
  7. Margin="15"
  8. BorderBrush="{DynamicResource BorderBrush}"
  9. Width="320"
  10. Height="400">
  11. <Border.Background>
  12. <SolidColorBrush Color="AliceBlue" Opacity="0.96"/>
  13. </Border.Background>
  14. <Grid>
  15. <StackPanel>
  16. <Image Source="/Resource/Image/BacklogImg.png" Width="260" Margin="0,20,0,0"/>
  17. <hc:Card Width="260" Height="220" BorderThickness="0" Effect="{DynamicResource EffectShadow2}" Margin="0,20,0,0">
  18. <Border CornerRadius="4,4,0,0" Height="160" Padding="10,0,10,0">
  19. <ScrollViewer>
  20. <TextBlock TextOptions.TextFormattingMode="Display"
  21. TextOptions.TextHintingMode="Animated"
  22. UseLayoutRounding="True"
  23. TextWrapping="Wrap"
  24. FontStyle="Normal"
  25. FontSize="15"
  26. LineHeight="22"
  27. VerticalAlignment="Center"
  28. HorizontalAlignment="Center"
  29. Text="{Binding Msg}"/>
  30. </ScrollViewer>
  31. </Border>
  32. <!--<hc:Card.Footer>
  33. <StackPanel Margin="10" Width="160">
  34. <TextBlock TextWrapping="NoWrap" FontSize="20" Style="{DynamicResource TextBlockLargeBold}" TextTrimming="CharacterEllipsis"
  35. Text="{Binding Title}"
  36. HorizontalAlignment="Left"/>
  37. <TextBlock TextWrapping="NoWrap" Style="{DynamicResource TextBlockDefault}" TextTrimming="CharacterEllipsis"
  38. Margin="0,6,0,0"
  39. HorizontalAlignment="Left"/>
  40. </StackPanel>
  41. </hc:Card.Footer>-->
  42. </hc:Card>
  43. </StackPanel>
  44. <Button Click="Close_Click" Content="朕已阅" Margin="10,0,10,20" Width="298" VerticalAlignment="Bottom"/>
  45. </Grid>
  46. </Border>