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

23 line
1.1 KiB

  1. <UserControl x:Class="BPASmartClient.SCADAControl.CustomerControls.TheRectangle"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:BPASmartClient.SCADAControl.CustomerControls"
  7. mc:Ignorable="d"
  8. x:Name="root"
  9. Foreground="#FF00EDFF"
  10. BorderBrush="Transparent"
  11. BorderThickness="4"
  12. Tag="10"
  13. d:DesignHeight="450" d:DesignWidth="800">
  14. <Rectangle Tag="border"
  15. Fill="{Binding ElementName=root,Path=BJColor,Mode=TwoWay}"
  16. Stroke="{Binding ElementName=root,Path=Foreground}"
  17. StrokeThickness="{Binding ElementName=root,Path=BKThickness}"
  18. StrokeDashArray="{Binding ElementName=root,Path=DoubleArray,Mode=TwoWay}"
  19. >
  20. </Rectangle>
  21. </UserControl>