SrdOverviewInformationPanel.xaml 6.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <UserControl x:Class="CyberX8_Themes.UserControls.SrdOverviewInformationPanel"
  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="self"
  8. d:DesignHeight="160" d:DesignWidth="600">
  9. <Border BorderBrush="Gray">
  10. <Grid>
  11. <GroupBox Header="{Binding ModuleTitle, ElementName=self}" BorderBrush="DarkGray">
  12. <Grid>
  13. <Grid.RowDefinitions>
  14. <RowDefinition Height="40"/>
  15. <RowDefinition Height="40"/>
  16. <RowDefinition Height="40"/>
  17. <RowDefinition Height="40"/>
  18. <RowDefinition/>
  19. </Grid.RowDefinitions>
  20. <Grid.ColumnDefinitions>
  21. <ColumnDefinition Width="150"/>
  22. <ColumnDefinition Width="150"/>
  23. <ColumnDefinition Width="150"/>
  24. <ColumnDefinition Width="150"/>
  25. <ColumnDefinition/>
  26. </Grid.ColumnDefinitions>
  27. <Grid Grid.Column ="0" Grid.Row="0">
  28. <Label Grid.Row="0" Content="Recipe" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  29. </Grid>
  30. <Grid Grid.Column ="0" Grid.Row="1">
  31. <Label Grid.Row="0" Content="Time Remaining" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  32. </Grid>
  33. <Grid Grid.Column ="0" Grid.Row="2">
  34. <Label Grid.Row="0" Content="Operating Mode" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  35. </Grid>
  36. <Grid Grid.Column ="0" Grid.Row="3">
  37. <Label Grid.Row="0" Content="Recipe Mode" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  38. </Grid>
  39. <Border Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="3" Margin="5,5,15,5" Background="Black">
  40. <TextBlock Text="{Binding ElementName=self,Path=RecipeContentValue}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  41. </Border>
  42. <Grid Grid.Column ="1" Grid.Row="1">
  43. <Grid.ColumnDefinitions>
  44. <ColumnDefinition Width="100"></ColumnDefinition>
  45. <ColumnDefinition Width="50"></ColumnDefinition>
  46. </Grid.ColumnDefinitions>
  47. <Border Grid.Column="0" Margin="5,5,2,5" Background="Black">
  48. <TextBlock Text="{Binding ElementName=self,Path=TimeRemainingValue, StringFormat=\{0:F2\}}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  49. </Border>
  50. <Border Grid.Column="1" Margin="2,5,5,5" Background="Black">
  51. <TextBlock Text="sec" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  52. </Border>
  53. </Grid>
  54. <Border Background="Black" Grid.Row="2" Grid.Column="1" Margin="5,5,5,5">
  55. <TextBlock Text="{Binding ElementName=self,Path=OperatingModeValue}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  56. </Border>
  57. <Border Background="Black" Grid.Row="3" Grid.Column="1" Margin="5,5,5,5">
  58. <TextBlock Text="{Binding ElementName=self,Path=RecipeModeValue}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  59. </Border>
  60. <Grid Grid.Column ="2" Grid.Row="1">
  61. <Label Grid.Row="0" Content="of Total Time" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  62. </Grid>
  63. <Grid Grid.Column ="2" Grid.Row="2">
  64. <Label Grid.Row="0" Content="State" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="16,0" />
  65. </Grid>
  66. <Grid Grid.Column ="3" Grid.Row="1">
  67. <Grid.ColumnDefinitions>
  68. <ColumnDefinition Width="100"></ColumnDefinition>
  69. <ColumnDefinition Width="50"></ColumnDefinition>
  70. </Grid.ColumnDefinitions>
  71. <Border Grid.Column="0" Margin="5,5,2,5" Background="Black">
  72. <TextBlock Text="{Binding ElementName=self,Path=TotalTimeValue, StringFormat=\{0:F2\}}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  73. </Border>
  74. <Border Grid.Column="1" Margin="2,5,5,5" Background="Black">
  75. <TextBlock Text="sec" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  76. </Border>
  77. </Grid>
  78. <Border Grid.Column="2" Grid.Row="2" Grid.ColumnSpan="2" Background="Black" Margin="5,5,5,5" Width="200" HorizontalAlignment="Right">
  79. <TextBlock Text="{Binding ElementName=self,Path=StateValue}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  80. </Border>
  81. </Grid>
  82. </GroupBox>
  83. </Grid>
  84. </Border>
  85. </UserControl>