<dx:DXWindow x:Class="ViewX.TempWindow3" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core" Title="TCP Debug(old)" Height="560" Width="540" > <Grid> <Grid.Resources> <Style x:Key="ChangedCellStyle" TargetType="DataGridCell"> <Style.Triggers> <EventTrigger RoutedEvent="Binding.TargetUpdated"> <BeginStoryboard> <Storyboard> <ColorAnimation Duration="00:00:10" Storyboard.TargetProperty="(DataGridCell.Background).(SolidColorBrush.Color)" From="OrangeRed" To="Transparent" /> </Storyboard> </BeginStoryboard> </EventTrigger> </Style.Triggers> </Style> </Grid.Resources> <Grid.RowDefinitions> <RowDefinition Height="*" /> </Grid.RowDefinitions> <DataGrid Grid.Row="0" ItemsSource="{Binding ReturnBytesAsCollection}" AutoGenerateColumns="False" CanUserReorderColumns="False" CanUserSortColumns="False" > <DataGrid.Columns> <DataGridTextColumn Header="Offset" Width="Auto" IsReadOnly="True" Binding="{Binding StringFormat={}0x{0:X8}, Path=BaseOffset, NotifyOnTargetUpdated=True}" CellStyle="{StaticResource ChangedCellStyle}" /> <DataGridTextColumn Header="0" Width="Auto" IsReadOnly="True" Binding="{Binding StringFormat={}{0:X2}, Path=B_0, NotifyOnTargetUpdated=True}" CellStyle="{StaticResource ChangedCellStyle}" /> <DataGridTextColumn Header="1" Width="Auto" IsReadOnly="True" Binding="{Binding StringFormat={}{0:X2}, Path=B_1, NotifyOnTargetUpdated=True}" CellStyle="{StaticResource ChangedCellStyle}" /> <DataGridTextColumn Header="2" Width="Auto" IsReadOnly="True" Binding="{Binding StringFormat={}{0:X2}, Path=B_2, NotifyOnTargetUpdated=True}" CellStyle="{StaticResource ChangedCellStyle}" /> <DataGridTextColumn Header="3" Width="Auto" IsReadOnly="True" Binding="{Binding StringFormat={}{0:X2}, Path=B_3, NotifyOnTargetUpdated=True}" CellStyle="{StaticResource ChangedCellStyle}" /> <DataGridTextColumn Header="4" Width="Auto" IsReadOnly="True" Binding="{Binding StringFormat={}{0:X2}, Path=B_4, NotifyOnTargetUpdated=True}" CellStyle="{StaticResource ChangedCellStyle}" /> <DataGridTextColumn Header="5" Width="Auto" IsReadOnly="True" Binding="{Binding StringFormat={}{0:X2}, Path=B_5, NotifyOnTargetUpdated=True}" CellStyle="{StaticResource ChangedCellStyle}" /> <DataGridTextColumn Header="6" Width="Auto" IsReadOnly="True" Binding="{Binding StringFormat={}{0:X2}, Path=B_6, NotifyOnTargetUpdated=True}" CellStyle="{StaticResource ChangedCellStyle}" /> <DataGridTextColumn Header="7" Width="Auto" IsReadOnly="True" Binding="{Binding StringFormat={}{0:X2}, Path=B_7, NotifyOnTargetUpdated=True}" CellStyle="{StaticResource ChangedCellStyle}" /> <DataGridTextColumn Header="8" Width="Auto" IsReadOnly="True" Binding="{Binding StringFormat={}{0:X2}, Path=B_8, NotifyOnTargetUpdated=True}" CellStyle="{StaticResource ChangedCellStyle}" /> <DataGridTextColumn Header="9" Width="Auto" IsReadOnly="True" Binding="{Binding StringFormat={}{0:X2}, Path=B_9, NotifyOnTargetUpdated=True}" CellStyle="{StaticResource ChangedCellStyle}" /> <DataGridTextColumn Header="A" Width="Auto" IsReadOnly="True" Binding="{Binding StringFormat={}{0:X2}, Path=B_A, NotifyOnTargetUpdated=True}" CellStyle="{StaticResource ChangedCellStyle}" /> <DataGridTextColumn Header="B" Width="Auto" IsReadOnly="True" Binding="{Binding StringFormat={}{0:X2}, Path=B_B, NotifyOnTargetUpdated=True}" CellStyle="{StaticResource ChangedCellStyle}" /> <DataGridTextColumn Header="C" Width="Auto" IsReadOnly="True" Binding="{Binding StringFormat={}{0:X2}, Path=B_C, NotifyOnTargetUpdated=True}" CellStyle="{StaticResource ChangedCellStyle}" /> <DataGridTextColumn Header="D" Width="Auto" IsReadOnly="True" Binding="{Binding StringFormat={}{0:X2}, Path=B_D, NotifyOnTargetUpdated=True}" CellStyle="{StaticResource ChangedCellStyle}" /> <DataGridTextColumn Header="E" Width="Auto" IsReadOnly="True" Binding="{Binding StringFormat={}{0:X2}, Path=B_E, NotifyOnTargetUpdated=True}" CellStyle="{StaticResource ChangedCellStyle}" /> <DataGridTextColumn Header="F" Width="Auto" IsReadOnly="True" Binding="{Binding StringFormat={}{0:X2}, Path=B_F, NotifyOnTargetUpdated=True}" CellStyle="{StaticResource ChangedCellStyle}" /> </DataGrid.Columns> </DataGrid> </Grid> </dx:DXWindow>