AITFlowMeter.xaml 1.1 KB

1234567891011121314
  1. <UserControl x:Class="Aitex.Core.UI.DeviceControl.AITFlowMeter"
  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" Height="40" Width="75" BorderThickness="1" x:Name="self">
  7. <Grid Height="30" Cursor="Hand" Opacity="1" MouseEnter="Grid_MouseEnter">
  8. <Border Background="Transparent" x:Name="bdRectangle" BorderThickness="1">
  9. <Rectangle RadiusX="2" RadiusY="2" Name="rectBkground" Stroke="#373737" Margin="1" Opacity="1" Height="26" Fill="DarkSlateBlue" StrokeThickness="1" />
  10. </Border>
  11. <Label Content="{Binding ElementName=self, Path=DeviceData.FeedBack}" ContentStringFormat="{Binding ElementName=self, Path=StringFormat}" FontFamily="Verdana" FontSize="12" HorizontalContentAlignment="Center" x:Name="labelValue" Margin="0,-2,-2,-2" VerticalContentAlignment="Center" Foreground="Yellow" />
  12. </Grid>
  13. </UserControl>