AITPressureMeter.xaml 1.3 KB

12345678910111213141516171819
  1. <UserControl x:Class="Aitex.Core.UI.DeviceControl.AITPressureMeter"
  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. mc:Ignorable="d" d:DesignHeight="24" d:DesignWidth="45" BorderThickness="1" x:Name="self">
  7. <Grid Cursor="Hand" Opacity="1" MouseEnter="Grid_MouseEnter">
  8. <Border Style="{x:Null}" Background="Transparent" x:Name="bdRectangle" BorderThickness="1">
  9. <Rectangle Style="{x:Null}" RadiusX="2" RadiusY="2" Name="rectBkground" Stroke="#373737"
  10. Margin="1" Opacity="1" Fill="CadetBlue" StrokeThickness="1"/>
  11. </Border>
  12. <Label Content="{Binding ElementName=self, Path=DeviceData.Display}" ContentStringFormat="F0"
  13. FontFamily="Verdana"
  14. FontSize="{Binding ElementName=self, Path=FontSizeSetting}"
  15. HorizontalContentAlignment="Center" x:Name="labelValue" Margin="0,-2,-2,-2"
  16. VerticalContentAlignment="Center" Foreground="{Binding ElementName=self, Path=ForegroundSetting}" />
  17. </Grid>
  18. </UserControl>