1234567891011121314151617181920212223242526272829 |
- <UserControl x:Class="CyberX8_Themes.UserControls.MetalWaferSizeControl"
- 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="70" d:DesignWidth="410">
- <Grid>
- <GroupBox Header="Wafer Sise" Margin="10,0,0,0">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="100"/>
- <ColumnDefinition Width="139*"/>
- <ColumnDefinition Width="135*"/>
- <ColumnDefinition Width="4*"/>
- </Grid.ColumnDefinitions>
- <Label Grid.Column="0" Content="Wafer Size" FontSize="16" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" VerticalAlignment="Center" HorizontalAlignment="Left"/>
- <Border Grid.Column="1" Margin="5,5,5,5" Background="Black">
- <TextBlock Text="{Binding ElementName=self, Path=MetalWaferSize,StringFormat=\{0\} mm}" Foreground="Lime" FontSize="15" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
- </Border>
- <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"/>
- </Grid>
- </GroupBox>
- </Grid>
- </UserControl>
|