1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <UserControl x:Class="CyberX8_Themes.UserControls.ReservoirsInformationPanel"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:CyberX8_Themes.UserControls"
- mc:Ignorable="d" x:Name="reservoirsInformation"
- d:DesignHeight="120" d:DesignWidth="500">
- <Border BorderBrush="Gray">
- <Grid>
- <GroupBox Header="{Binding ModuleTitle, ElementName=reservoirsInformation}" BorderBrush="DarkGray">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition Height="40"/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="145"/>
- <ColumnDefinition Width="150"/>
- <ColumnDefinition Width="55"/>
- <ColumnDefinition Width="150"/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Grid Grid.Column ="0" Grid.Row="0">
- <Label Grid.Row="0" Content="Recipe" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
- </Grid>
- <Grid Grid.Column ="0" Grid.Row="1">
- <Label Grid.Row="0" Content="Operating Mode" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
- </Grid>
- <Border Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="3" Margin="5,5,15,5" Background="Black">
- <TextBlock Text="{Binding ElementName=reservoirsInformation,Path=RecipeContentValue}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
- </Border>
- <Border Background="Black" Grid.Row="1" Grid.Column="1" Margin="5,5,5,5">
- <TextBlock Text="{Binding ElementName=reservoirsInformation,Path=OperatingModeValue}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
- </Border>
- <Grid Grid.Column ="2" Grid.Row="1">
- <Label Grid.Row="0" Content="State" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- </Grid>
- <Border Grid.Column="3" Grid.Row="1" Background="Black" Margin="5,5,5,5">
- <TextBlock Text="{Binding ElementName=reservoirsInformation,Path=StateValue}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
- </Border>
- </Grid>
- </GroupBox>
- </Grid>
- </Border>
- </UserControl>
|