MetalWaferSizeControl.xaml 1.8 KB

1234567891011121314151617181920212223242526272829
  1. <UserControl x:Class="CyberX8_Themes.UserControls.MetalWaferSizeControl"
  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="70" d:DesignWidth="410">
  9. <Grid>
  10. <GroupBox Header="Wafer Sise" Margin="10,0,0,0">
  11. <Grid>
  12. <Grid.ColumnDefinitions>
  13. <ColumnDefinition Width="100"/>
  14. <ColumnDefinition Width="139*"/>
  15. <ColumnDefinition Width="135*"/>
  16. <ColumnDefinition Width="4*"/>
  17. </Grid.ColumnDefinitions>
  18. <Label Grid.Column="0" Content="Wafer Size" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  19. <Border Grid.Column="1" Margin="5,5,5,5" Background="Black">
  20. <TextBlock Text="{Binding ElementName=self, Path=MetalWaferSize,StringFormat=\{0\} mm}" Foreground="Lime" FontSize="15" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  21. </Border>
  22. <ComboBox x:Name="cbox" Grid.Column="2" Height="40" Width="135" ItemsSource="{Binding WaferSizeList}" SelectedItem="{Binding ElementName=self,Path=MetalWaferSize}" SelectionChanged="WaferSize_SelectionChanged" Margin="5,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left" Grid.ColumnSpan="3"/>
  23. </Grid>
  24. </GroupBox>
  25. </Grid>
  26. </UserControl>