1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <UserControl x:Class="EfemDualSimulator.Views.Simu_CometRFView"
- 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:EfemDualSimulator.Views"
- xmlns:commons="clr-namespace:MECF.Framework.Simulator.Core.Commons;assembly=MECF.Framework.Simulator.Core"
- mc:Ignorable="d"
- d:DesignHeight="900" d:DesignWidth="1200">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="100"></RowDefinition>
- <RowDefinition Height="0"></RowDefinition>
- <RowDefinition Height="*"></RowDefinition>
- </Grid.RowDefinitions>
- <commons:SocketTitleView Grid.Row="0"></commons:SocketTitleView>
- <!--<StackPanel Grid.Row="1" Orientation="Horizontal" Width="1200">
- <Button Content="Clear Log" Width="100" Height="35" Command="{Binding ClearLogCommand}"></Button>
- <Button Content="Place" Margin="150,6,0,0" Width="100" Height="35" Command="{Binding PlaceCommand}" ></Button>
- <Button Content="Remove" Margin="20,6,0,0" Width="100" Height="35" Command="{Binding RemoveCommand}" ></Button>
- <Label Content="{Binding WaferMap}" Width="300" Height="30" HorizontalContentAlignment="Center" Background="LightBlue" BorderThickness="2" Canvas.Left="32" Canvas.Top="50"></Label>
- <Button Content="SetAll" Width="100" Height="35" Command="{Binding SetAllCommand}" Margin="20,6,0,0"></Button>
- <Button Content="Random" Width="100" Height="35" Command="{Binding RandomCommand}" Margin="20,6,0,0"></Button>
- <Button Content="Clear" Width="100" Height="35" Command="{Binding ClearCommand}" Margin="20,6,0,0"></Button>
- </StackPanel>-->
- <DataGrid Grid.Row="2" FontSize="16" AutoGenerateColumns="False" CanUserAddRows="False" CanUserResizeRows="False" CanUserSortColumns="False" ItemsSource="{Binding TransactionLogItems}"
- ScrollViewer.CanContentScroll="True"
- ScrollViewer.VerticalScrollBarVisibility="Auto"
- ScrollViewer.HorizontalScrollBarVisibility="Auto"
- Width="1200" VerticalAlignment="Top">
- <DataGrid.Columns>
- <DataGridTextColumn Header="Time" Width="200" IsReadOnly="True" Binding="{Binding OccurTime, UpdateSourceTrigger=PropertyChanged}" />
- <DataGridTextColumn Header="Incoming" Width="500" IsReadOnly="True" Binding="{Binding Incoming, UpdateSourceTrigger=PropertyChanged}">
- <DataGridTextColumn.ElementStyle>
- <Style TargetType="TextBlock">
- <Setter Property="TextWrapping" Value="Wrap" />
- <Setter Property="Height" Value="auto" />
- </Style>
- </DataGridTextColumn.ElementStyle>
- </DataGridTextColumn>
- <DataGridTextColumn Header="Outgoing" Width="500" IsReadOnly="True" Binding="{Binding Outgoing, UpdateSourceTrigger=PropertyChanged}">
- <DataGridTextColumn.ElementStyle>
- <Style TargetType="TextBlock">
- <Setter Property="TextWrapping" Value="Wrap" />
- <Setter Property="Height" Value="auto" />
- </Style>
- </DataGridTextColumn.ElementStyle>
- </DataGridTextColumn>
- </DataGrid.Columns>
- </DataGrid>
- </Grid>
- </UserControl>
|