1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <UserControl x:Class="FurnaceUI.Views.Maintenances.WaferRobotPositionEditView"
- 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:FurnaceUI.Views.Parameter"
- xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
- xmlns:cal="http://www.caliburn.org"
- mc:Ignorable="d"
- Height="350" Width="500">
- <Grid>
- <Border>
- <Border Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" BorderBrush="Gray" BorderThickness="1,1,1,1" Margin="10,10,10,5" >
- <Grid VerticalAlignment="Top" >
- <Grid.RowDefinitions>
- <RowDefinition Height="80"/>
- <RowDefinition Height="80"/>
- <RowDefinition Height="80"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="158"/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Label Grid.Row="0" Grid.Column="0" Style="{StaticResource LabelGrid_Title}" Content="TrsSt"/>
- <Border Grid.Row="0" Grid.ColumnSpan="2" Background="White" Grid.Column="1" BorderBrush="Gray" BorderThickness="1,1,1,0">
- <TextBox IsEnabled="False" Width="316" Text="{Binding PName,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
- </Border>
- <Label Grid.Row="1" Grid.Column="0" Style="{StaticResource LabelGrid_Title}" Content="StParam"/>
- <Border Grid.Row="1" Background="White" Grid.Column="1" BorderBrush="Gray" BorderThickness="1,1,1,0">
- <ComboBox Width="316" ItemsSource="{Binding ValueList[0].Parameters,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" SelectedIndex="{Binding SelectPositionIndex}" />
- </Border>
- <Label Grid.Row="2" Grid.Column="0" Style="{StaticResource LabelGrid_Title}" Content="SetValue"/>
- <Border Grid.Row="2" Background="White" Grid.Column="1" BorderBrush="Gray" BorderThickness="1,1,1,0">
- <TextBox Tag="Number" Width="316" Text="{Binding ValueList[1].CurrentValue,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
- </Border>
-
- <Button Content="Save" Grid.Row="9" Width="120" Margin="79,23,279,-18" Height="45" Grid.ColumnSpan="2" Grid.RowSpan="2">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="SaveBtnClick">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- <Button Content="Cancel" Grid.Row="9" Grid.Column="1" Width="120" Margin="131,23,69,-18" Height="45" Grid.RowSpan="2">
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="Click">
- <cal:ActionMessage MethodName="CancelBtnClick">
- </cal:ActionMessage>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- </Button>
- </Grid>
- </Border>
- </Border>
- </Grid>
- </UserControl>
|