IO_Bool_RW.xaml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <UserControl x:Class="MaintainModule.Controls.IO_Bool_RW"
  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:MaintainModule.Controls"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800">
  9. <UserControl.Resources>
  10. <ResourceDictionary >
  11. <ResourceDictionary.MergedDictionaries>
  12. <ResourceDictionary Source="/UICommon;component/Resources.xaml"/>
  13. </ResourceDictionary.MergedDictionaries>
  14. </ResourceDictionary>
  15. </UserControl.Resources>
  16. <Grid Height="42" Background="#ebedf0" Margin="4,0">
  17. <Grid.ColumnDefinitions>
  18. <ColumnDefinition Width="42"/>
  19. <ColumnDefinition Width="*"/>
  20. <ColumnDefinition Width="42"/>
  21. <ColumnDefinition Width="42"/>
  22. </Grid.ColumnDefinitions>
  23. <Border BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.4,0.4,0,0.4">
  24. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">123</TextBlock>
  25. </Border>
  26. <Border Grid.Column="1" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0.4">
  27. <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center">AAAA</TextBlock>
  28. </Border>
  29. <Border Grid.Column="2" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0,0.4,0.4,0.4">
  30. <local:SignalLight IsOn="False"/>
  31. </Border>
  32. <Border Grid.Column="3" BorderBrush="{StaticResource DarkBorderColor}" BorderThickness="0,0.4,0.4,0.4">
  33. <Button Background="Transparent" BorderThickness="0">
  34. <local:SignalLight IsOn="True"/>
  35. </Button>
  36. </Border>
  37. </Grid>
  38. </UserControl>