终端一体化运控平台
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TitleTextBlock.xaml 1.4 KiB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <UserControl
  2. x:Class="BPASmartClient.CustomResource.UserControls.TitleTextBlock"
  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.UserControls"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. d:DesignHeight="30"
  9. d:DesignWidth="100"
  10. mc:Ignorable="d">
  11. <Grid>
  12. <Canvas
  13. Name="canvas"
  14. Width="auto"
  15. Height="auto"
  16. SizeChanged="Canvas_SizeChanged">
  17. <!--<Polygon x:Name="poly1">
  18. <Polygon.Fill>
  19. <LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
  20. <GradientStop Color="Red" />
  21. <GradientStop Offset="1" Color="#55ff0000" />
  22. </LinearGradientBrush>
  23. </Polygon.Fill>
  24. </Polygon>-->
  25. <Polygon x:Name="poly">
  26. <Polygon.Fill>
  27. <LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
  28. <GradientStop Color="#ff1247EC" />
  29. <GradientStop Offset="1" Color="#111247EC" />
  30. </LinearGradientBrush>
  31. </Polygon.Fill>
  32. </Polygon>
  33. </Canvas>
  34. </Grid>
  35. </UserControl>