| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 | <UserControl x:Class="CyberX8_Simulator.Views.GalilView"             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:CyberX8_Simulator.Views"             xmlns:commons="clr-namespace:MECF.Framework.Simulator.Core.Commons;assembly=MECF.Framework.Simulator.Core"             xmlns:i="http://schemas.microsoft.com/xaml/behaviors"             mc:Ignorable="d"              d:Height="900" d:Width="1200">    <Grid>        <Grid.RowDefinitions>            <RowDefinition Height="100"></RowDefinition>            <RowDefinition Height="50"></RowDefinition>            <RowDefinition />            <RowDefinition Height="10"></RowDefinition>        </Grid.RowDefinitions>        <commons:SocketTitleView Grid.Row="0"></commons:SocketTitleView>        <Grid  Grid.Row="1">            <StackPanel Orientation="Horizontal" Width="1200">                <Button Content="Clear Log" Width="100" Height="35"   Command="{Binding ClearLogCommand}"></Button>                <StackPanel Orientation="Horizontal" Width="577" Height="50" Margin="100,0,0,0">                    <Label Content="Inputs:" VerticalAlignment="Center"></Label>                    <ComboBox  Width="250" Height="30" VerticalContentAlignment="Center" ItemsSource="{Binding InputsNameItems}" SelectedItem="{Binding InputsSelectedItem}">                        <i:Interaction.Triggers>                            <i:EventTrigger EventName="SelectionChanged">                                <i:InvokeCommandAction Command="{Binding InputsSelectionChangedCommand}"/>                            </i:EventTrigger>                        </i:Interaction.Triggers>                    </ComboBox>                    <ComboBox  Width="60" Height="30" Margin="5,0,0,0" VerticalContentAlignment="Center" ItemsSource="{Binding DigitalOutputSelected}" SelectedItem="{Binding InputValue}" HorizontalContentAlignment="Center"></ComboBox>                    <Button Content="Set Input" Height="30" Width="100" Margin="5,10,0,0" Command="{Binding SetInputsCommand}"/>                    <Border Margin="5,0,0,0" Background="Black" Height="30" Width="80">                        <TextBlock Text="{Binding InputCurrentValue}" Foreground="Lime"   FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>                    </Border>                </StackPanel>            </StackPanel>        </Grid>        <DataGrid Grid.Row="2" FontSize="16" AutoGenerateColumns="False" CanUserAddRows="False" CanUserResizeRows="False" CanUserSortColumns="False"          ItemsSource="{Binding TransactionLogItems}"              Width="1200" VerticalAlignment="Top" MaxHeight="780">            <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>
 |