| 1234567891011121314151617181920212223242526272829303132 |
- <UserControl x:Class="SummaryModule.Controls.BaseMotion.LoadPort"
- 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"
- mc:Ignorable="d"
- x:Name="This"
- d:DesignHeight="450" d:DesignWidth="800">
- <UserControl.Resources>
- <ResourceDictionary >
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="/UICommon;component/Resources.xaml"/>
- </ResourceDictionary.MergedDictionaries>
- <convert:VisibilityConvert x:Key="vis"/>
- </ResourceDictionary>
- </UserControl.Resources>
- <Button Style="{StaticResource ClearButton}" Background="Transparent" BorderThickness="0" Command="{Binding ElementName=This, Path=Command}" CommandParameter="{Binding ElementName=This, Path=CommandParameter}">
- <Grid >
- <Grid.RowDefinitions>
- <RowDefinition Height="auto"/>
- <RowDefinition Height="2"/>
- <RowDefinition Height="auto"/>
- </Grid.RowDefinitions>
- <local:Foup x:Name="foup" Panel.ZIndex="2" Visibility="{Binding ElementName=This, Path=FoupLoaded, Converter={StaticResource vis}}"/>
- <Image Source="/SummaryModule;component/Resources/LoadPort.png"/>
- <TextBlock Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="14" FontWeight="Bold" Text="{Binding ElementName=This, Path=Header}"/>
- </Grid>
- </Button>
- </UserControl>
|