ReservoirsInformationPanel.xaml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <UserControl x:Class="CyberX8_Themes.UserControls.ReservoirsInformationPanel"
  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:CyberX8_Themes.UserControls"
  7. mc:Ignorable="d" x:Name="reservoirsInformation"
  8. d:DesignHeight="120" d:DesignWidth="500">
  9. <Border BorderBrush="Gray">
  10. <Grid>
  11. <GroupBox Header="{Binding ModuleTitle, ElementName=reservoirsInformation}" BorderBrush="DarkGray">
  12. <Grid>
  13. <Grid.RowDefinitions>
  14. <RowDefinition Height="40"/>
  15. <RowDefinition Height="40"/>
  16. <RowDefinition Height="40"/>
  17. <RowDefinition/>
  18. </Grid.RowDefinitions>
  19. <Grid.ColumnDefinitions>
  20. <ColumnDefinition Width="145"/>
  21. <ColumnDefinition Width="150"/>
  22. <ColumnDefinition Width="55"/>
  23. <ColumnDefinition Width="150"/>
  24. <ColumnDefinition/>
  25. </Grid.ColumnDefinitions>
  26. <Grid Grid.Column ="0" Grid.Row="0">
  27. <Label Grid.Row="0" Content="Recipe" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  28. </Grid>
  29. <Grid Grid.Column ="0" Grid.Row="1">
  30. <Label Grid.Row="0" Content="Operating Mode" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  31. </Grid>
  32. <Border Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="3" Margin="5,5,15,5" Background="Black">
  33. <TextBlock Text="{Binding ElementName=reservoirsInformation,Path=RecipeContentValue}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  34. </Border>
  35. <Border Background="Black" Grid.Row="1" Grid.Column="1" Margin="5,5,5,5">
  36. <TextBlock Text="{Binding ElementName=reservoirsInformation,Path=OperatingModeValue}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  37. </Border>
  38. <Grid Grid.Column ="2" Grid.Row="1">
  39. <Label Grid.Row="0" Content="State" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  40. </Grid>
  41. <Border Grid.Column="3" Grid.Row="1" Background="Black" Margin="5,5,5,5">
  42. <TextBlock Text="{Binding ElementName=reservoirsInformation,Path=StateValue}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  43. </Border>
  44. </Grid>
  45. </GroupBox>
  46. </Grid>
  47. </Border>
  48. </UserControl>