| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <UserControl x:Class="SummaryModule.Controls.BaseMotion.Buffer"
- 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:SummaryModule.Controls.BaseMotion"
- xmlns:convert="clr-namespace:SummaryModule.Converter"
- xmlns:commonControl="clr-namespace:UICommon.Controls;assembly=UICommon"
- mc:Ignorable="d"
- x:Name="This"
- d:DesignHeight="450" d:DesignWidth="800">
- <UserControl.Resources>
- <convert:VisibilityConvert x:Key="vis"/>
- <convert:BoolToLight x:Key="light"/>
- </UserControl.Resources>
- <Button Background="Transparent" BorderThickness="0" Command="{Binding ElementName=This, Path=Command}" CommandParameter="{Binding ElementName=This, Path=CommandParameter}">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="28"/>
- <ColumnDefinition Width="2"/>
- <ColumnDefinition Width="auto"/>
- </Grid.ColumnDefinitions>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="2"/>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="2"/>
- <RowDefinition Height="auto"/>
- </Grid.RowDefinitions>
- <TextBlock Grid.Row="1" HorizontalAlignment="Right" Text="{Binding ElementName=This, Path=Type}"></TextBlock>
- <TextBlock Grid.Row="3" HorizontalAlignment="Right" Text="{Binding ElementName=This, Path=Placement}"></TextBlock>
- <commonControl:SignalLight Grid.Row="5" HorizontalAlignment="Right" IsOn="{Binding ElementName=This, Path=IsActive}"/>
- </Grid>
- <Grid Grid.Column="2" >
- <local:Foup x:Name="foup" Panel.ZIndex="2" Visibility="{Binding ElementName=This, Path=FoupLoaded, Converter={StaticResource vis}}"/>
- <Image Source="/SummaryModule;component/Resources/Buffer.png"/>
- </Grid>
- </Grid>
- </Button>
- </UserControl>
|