12345678910111213141516171819202122232425262728 |
- <UserControl x:Class="Aitex.Sorter.UI.Controls.Aligner"
- 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:Aitex.Sorter.UI.Controls"
- mc:Ignorable="d"
- d:DesignHeight="113" d:DesignWidth="105">
- <UserControl.ContextMenu>
- <ContextMenu>
- <MenuItem x:Name="mnuHome" Header="Home" Click="MenuItem_Click" Tag="AlignerHome" />
- <MenuItem x:Name="mnuStop" Header="Stop" Click="MenuItem_Click" Tag="AlignerStop" />
- <MenuItem x:Name="mnuReset" Header="Reset" Click="MenuItem_Click" Tag="AlignerReset" />
- </ContextMenu>
- </UserControl.ContextMenu>
- <Canvas x:Name="root" Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=ActualWidth}" Height="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=ActualHeight}">
- <Grid >
- <Image Source="/Aitex.Sorter.UI;component/Resources/images/aligner.png" Width="50"/>
- <local:Wafer WaferStyle="Eclipse" WaferItem="{Binding Wafer}" WaferTransferOptionCommand="{Binding WaferTransferOptionCommand}" Station ="{Binding Station}" Slot="0" Width="50"/>
- </Grid>
- <Canvas.RenderTransform>
- <TransformGroup>
- <RotateTransform CenterX="50" CenterY="51" Angle="{Binding RotateAngel}"></RotateTransform>
- </TransformGroup>
- </Canvas.RenderTransform>
- </Canvas>
- </UserControl>
|