终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DebugLogView.xaml 1.4 KiB

2 years ago
12345678910111213141516171819202122232425262728293031323334353637383940
  1. <UserControl
  2. x:Class="BPASmartClient.CustomResource.Pages.View.DebugLogView"
  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:BPASmartClient.CustomResource.Pages.View"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. xmlns:vm="clr-namespace:BPASmartClient.CustomResource.Pages.ViewModel"
  9. d:DesignHeight="450"
  10. d:DesignWidth="800"
  11. mc:Ignorable="d">
  12. <UserControl.DataContext>
  13. <vm:DebugLogViewModel />
  14. </UserControl.DataContext>
  15. <Grid>
  16. <ScrollViewer
  17. Margin="20"
  18. HorizontalScrollBarVisibility="Hidden"
  19. VerticalScrollBarVisibility="Hidden">
  20. <TextBlock
  21. FontFamily="黑体"
  22. FontSize="16"
  23. Foreground="#20FDFA"
  24. LineHeight="30"
  25. Text="{Binding Message}"
  26. TextWrapping="Wrap">
  27. <TextBlock.Effect>
  28. <DropShadowEffect
  29. Direction="0"
  30. Opacity="0.5"
  31. ShadowDepth="5"
  32. Color="#20aefe" />
  33. </TextBlock.Effect>
  34. </TextBlock>
  35. </ScrollViewer>
  36. </Grid>
  37. </UserControl>