<UserControl x:Class="CyberX8_Themes.UserControls.PlatingPowerSupplyControl" 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="self" d:DesignHeight="115" d:DesignWidth="400"> <Grid> <GroupBox Header="Plating Power Supply"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="30"/> <RowDefinition Height="1*"/> <RowDefinition Height="1*"/> <!--<RowDefinition Height="1*"/> <RowDefinition Height="1*"/>--> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="150"/> <ColumnDefinition Width="1*"/> <ColumnDefinition Width="1*"/> </Grid.ColumnDefinitions> <Label Grid.Row="0" Grid.Column="1" Content="A" FontSize="18" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,0"/> <Label Grid.Row="0" Grid.Column="2" Content="B" FontSize="18" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,0"/> <Label Grid.Row="1" Grid.Column="0" Content="Forward Current" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0,0,0,0"/> <Border Grid.Row="1" Grid.Column="1" Margin="5,5,5,5" Background="Black"> <TextBlock Text="{Binding ElementName=self,Path=SideAForwardCurrent,StringFormat=\{0:F3\} A,Mode=TwoWay}" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/> </Border> <Border Grid.Row="1" Grid.Column="2" Margin="5,5,5,5" Background="Black"> <TextBlock Text="{Binding ElementName=self,Path=SideBForwardCurrent,StringFormat=\{0:F3\} A,Mode=TwoWay}" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/> </Border> <Label Grid.Row="2" Grid.Column="0" Content="Forward Voltage" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0,0,0,0"/> <Border Grid.Row="2" Grid.Column="1" Margin="5,5,5,5" Background="Black"> <TextBlock Text="{Binding ElementName=self,Path=SideAForwardVoltage,StringFormat=\{0:F2\} V,Mode=TwoWay}" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/> </Border> <Border Grid.Row="2" Grid.Column="2" Margin="5,5,5,5" Background="Black"> <TextBlock Text="{Binding ElementName=self,Path=SideBForwardVoltage,StringFormat=\{0:F2\} V,Mode=TwoWay}" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/> </Border> <!--<Label Grid.Row="3" Grid.Column="0" Content="Reverse Current" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0,0,0,0"/> <Border Grid.Row="3" Grid.Column="1" Margin="5,5,5,5" Background="Black"> <TextBlock Text="{Binding ElementName=self,Path=SideAReverseCurrent,StringFormat=\{0:F3\} A,Mode=TwoWay}" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/> </Border> <Border Grid.Row="3" Grid.Column="2" Margin="5,5,5,5" Background="Black"> <TextBlock Text="{Binding ElementName=self,Path=SideBReverseCurrent,StringFormat=\{0:F3\} A,Mode=TwoWay}" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/> </Border> <Label Grid.Row="4" Grid.Column="0" Content="Reverse Voltage" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0,0,0,0"/> <Border Grid.Row="4" Grid.Column="1" Margin="5,5,5,5" Background="Black"> <TextBlock Text="{Binding ElementName=self,Path=SideAReverseVoltage,StringFormat=\{0:F2\} V,Mode=TwoWay}" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/> </Border> <Border Grid.Row="4" Grid.Column="2" Margin="5,5,5,5" Background="Black"> <TextBlock Text="{Binding ElementName=self,Path=SideBReverseVoltage,StringFormat=\{0:F2\} V,Mode=TwoWay}" Foreground="Lime" FontSize="16" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/> </Border>--> </Grid> </GroupBox> </Grid> </UserControl>