WaferHolderBuffer.xaml 1.8 KB

123456789101112131415161718192021222324252627282930313233
  1. <UserControl x:Class="CyberX8_Themes.UserControls.WaferHolderBuffer"
  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. xmlns:converters="clr-namespace:CyberX8_Themes.Converters"
  8. mc:Ignorable="d" x:Name="self"
  9. d:DesignHeight="100" d:DesignWidth="15">
  10. <UserControl.Resources>
  11. <converters:BoolToVisibility3 x:Key="boolToVisibility3"/>
  12. <converters:IntToColorConverter x:Key="intToColorConvert"/>
  13. </UserControl.Resources>
  14. <Grid>
  15. <Viewbox Stretch="Fill">
  16. <Canvas Width="15" Height="100" Background="Transparent">
  17. <Polygon Points="0,0 15,0 15,100 0,100" StrokeThickness="1" Stroke="Black">
  18. </Polygon>
  19. <local:WaferHolderControl Visibility="{Binding ElementName=self, Path=WaferHolderVisible, Converter={StaticResource boolToVisibility3}}" Canvas.Top="-10" Width="15" Height="100"
  20. IsWHEnable="{Binding ElementName=self,Path=IsWHEnable}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  21. <Label Content="{Binding ElementName=self, Path=CellName}" Canvas.Left="0" Canvas.Top="60" FontSize="4">
  22. <Label.RenderTransform>
  23. <RotateTransform Angle="-90"></RotateTransform>
  24. </Label.RenderTransform>
  25. </Label>
  26. </Canvas>
  27. </Viewbox>
  28. </Grid>
  29. </UserControl>