| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 | <UserControl x:Class="CyberX8_Themes.UserControls.RecipeControlMetal"             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"              xmlns:converters="clr-namespace:CyberX8_Themes.Converters"             xmlns:Control="clr-namespace:MECF.Framework.UI.Core.Control;assembly=MECF.Framework.UI.Core"             mc:Ignorable="d" x:Name="self" d:DesignWidth="520" Height="370">    <UserControl.Resources>        <converters:RecipeIconConverter x:Key="recipeIconConverter"/>        <converters:BoolToInverseBoolConverter x:Key="BoolToInverseBoolConverter" />    </UserControl.Resources>    <GroupBox         Header="{Binding ModuleTitle, ElementName=self}"        BorderBrush="DarkGray">        <Grid>            <Grid.RowDefinitions>                <RowDefinition Height="20"></RowDefinition>                <RowDefinition Height="50"></RowDefinition>                <RowDefinition Height="30"></RowDefinition>                <RowDefinition Height="30"></RowDefinition>                <RowDefinition Height="50"></RowDefinition>                <RowDefinition Height="50"></RowDefinition>                <RowDefinition Height="50"></RowDefinition>                <RowDefinition Height="50"></RowDefinition>                <RowDefinition Height="20"></RowDefinition>                <RowDefinition/>            </Grid.RowDefinitions>            <Grid.ColumnDefinitions>                <ColumnDefinition Width="310"></ColumnDefinition>                <ColumnDefinition Width="100"></ColumnDefinition>                <ColumnDefinition Width="100"></ColumnDefinition>                <ColumnDefinition/>            </Grid.ColumnDefinitions>            <Button Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" Style="{StaticResource SysBtnStyle}" Content="Run" Height="35" Width="140"                 Click="RunRecipe_Click" IsEnabled="{Binding ElementName=self,Path=LoadEnabled}"/>            <Label  Grid.Row="2" Grid.RowSpan="2" Grid.Column="1" Height="40" FontSize="14" FontWeight="Bold" Content="Cycle" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" />            <Border Grid.Row="2" Grid.Column="2" Margin="10,0,20,0" Background="Black" Height="22" Width="30">                <TextBlock  Text="{Binding ElementName=self,Path=AchievedCycleTimes}" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" TextAlignment="Center" HorizontalAlignment="Left"/>            </Border>            <Control:IntegerTextBox Grid.Row="3" Grid.Column="2" Margin="10,0,20,0" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="15" FontWeight="Bold" Height="22" Width="30"                                 Value="{Binding ElementName=self,Path=InputCycleTimes,Mode=TwoWay}"                                 TextboxName="InputCycleTimes"                                  />            <Button Grid.Row="6" Grid.Column="1" Grid.ColumnSpan="2" Style="{StaticResource SysBtnStyle}" Content="Abort" Height="35" Width="140" Click="Abort_Click" IsEnabled="{Binding ElementName=self,Path=LoadEnabled}"/>            <Button Grid.Row="7" Grid.Column="1" Grid.ColumnSpan="2" Style="{StaticResource SysBtnStyle}" Content="Edit" Height="35" Width="140" Click="Edit_Click" IsEnabled="{Binding ElementName=self,Path=LoadEnabled}"/>            <local:RecipeLoadControl Grid.Row="0" Grid.RowSpan="10"                                   RecipeType="{Binding ElementName=self,Path=RecipeType}"                                  SelectedRecipeNode="{Binding ElementName=self,Path=SelectedRecipeNode,Mode=TwoWay}"                                 IsEngineeringMode ="{Binding ElementName=self,Path=IsEngineering,Mode=TwoWay}"                                 IsProductionMode ="{Binding ElementName=self,Path=IsProduction,Mode=TwoWay}"                                 />            <Grid Grid.Row="8" Grid.Column="1" Grid.RowSpan="2" Grid.ColumnSpan="2">                <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center" Orientation="Horizontal">                    <CheckBox Margin="0,0,0,0" x:Name="CheckBoxA" Checked="Side_Checked" Unchecked="Side_Checked" Content="A" VerticalAlignment="Center"/>                    <CheckBox Margin="20,0,0,0" x:Name="CheckBoxB" Checked="Side_Checked" Unchecked="Side_Checked" Content="B" VerticalAlignment="Center"/>                </StackPanel>            </Grid>        </Grid>    </GroupBox></UserControl>
 |