PointTag.xaml 1.3 KB

12345678910111213141516171819202122
  1. <UserControl x:Class="NEIntelligentControl2.Views.Infos.PointTag"
  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:NEIntelligentControl2.Views.Infos"
  7. mc:Ignorable="d"
  8. d:DesignHeight="30" d:DesignWidth="206" Margin="12,0" Height="35">
  9. <Border BorderThickness="1" BorderBrush="#FF4A4A4A" SnapsToDevicePixels="True" MouseLeftButtonDown="Border_MouseLeftButtonDown">
  10. <Grid>
  11. <Grid.ColumnDefinitions>
  12. <ColumnDefinition Width="Auto"/>
  13. <ColumnDefinition/>
  14. <ColumnDefinition Width="Auto"/>
  15. </Grid.ColumnDefinitions>
  16. <TextBlock HorizontalAlignment="Left" x:Name="_TBName" VerticalAlignment="Center" FontSize="14" Margin="3"/>
  17. <TextBlock Grid.Column="1" HorizontalAlignment="Right" x:Name="_TBValue" VerticalAlignment="Center" FontSize="14" Margin="5,3,10,3"/>
  18. <TextBlock Grid.Column="2" x:Name="_TBUnit" VerticalAlignment="Center" FontSize="14" Margin="3"/>
  19. </Grid>
  20. </Border>
  21. </UserControl>