AITRf.xaml 1.5 KB

1234567891011121314151617181920212223
  1. <UserControl x:Class="MECF.Framework.UI.Client.Ctrlib.UnitControls.AITRf"
  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="78" d:DesignWidth="90" BorderThickness="1" x:Name="self" >
  7. <Grid MouseLeftButtonUp="Grid_MouseLeftButtonUp" Cursor="Hand" Opacity="1" MouseEnter="Grid_MouseEnter">
  8. <Grid.RowDefinitions>
  9. <RowDefinition></RowDefinition>
  10. <RowDefinition></RowDefinition>
  11. </Grid.RowDefinitions>
  12. <Grid Grid.Row="0">
  13. <Rectangle RadiusX="2" RadiusY="2" Name="rectFeedback" Stroke="Gray" Margin="0" Opacity="1" Fill="MediumPurple" StrokeThickness="2"/>
  14. <Label Content="0.0" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" x:Name="labelValue" Margin="0,-1,-2,0" Foreground="White" />
  15. </Grid>
  16. <Grid Grid.Row="1">
  17. <Rectangle Name="rectSetPoint" RadiusX="2" RadiusY="2" Stroke="Gray" Margin="0" Opacity="1" Fill="CadetBlue" StrokeThickness="2"/>
  18. <Label Content="0.0" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" x:Name="labelSetPoint" Margin="0,-2,-2,0" Foreground="DarkSlateGray" />
  19. </Grid>
  20. </Grid>
  21. </UserControl>