终端一体化运控平台
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.
 
 
 

37 regels
1.3 KiB

  1. <UserControl
  2. x:Class="BPASmartClient.CustomResource.UserControls.WatermarkText"
  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. <Border
  12. Background="{Binding WTBackground}"
  13. BorderBrush="{Binding Stroke}"
  14. BorderThickness="{Binding StrokeThickness}"
  15. CornerRadius="{Binding WTCornerRadius}">
  16. <Grid>
  17. <TextBox
  18. Name="Maintb"
  19. Margin="5,0,0,0"
  20. Background="Transparent"
  21. BorderThickness="0"
  22. Text="{Binding Text}" />
  23. <TextBlock
  24. Name="Subtb"
  25. Margin="5,0,0,0"
  26. HorizontalAlignment="Left"
  27. VerticalAlignment="Center"
  28. Background="Transparent"
  29. Foreground="{Binding SubForeground}"
  30. IsHitTestVisible="False"
  31. Text="{Binding SubText}" />
  32. </Grid>
  33. </Border>
  34. </UserControl>