| ofs | hex dump | ascii |
|---|
| 0000 | 4f 54 54 4f 00 0c 00 80 00 03 00 40 43 46 46 20 cf af e2 89 00 00 0f d8 00 00 e5 40 44 53 49 47 | OTTO.......@CFF............@DSIG |
| 0020 | 0e ac a3 cc 00 01 d9 6c 00 00 04 00 47 50 4f 53 f4 c8 59 8a 00 00 f5 18 00 00 cd 98 47 53 55 42 | .......l....GPOS..Y.........GSUB |
| 0040 | ea e1 bf 70 00 01 c2 b0 00 00 10 10 4f 53 2f 32 cc f0 29 37 00 00 01 30 00 00 00 60 63 6d 61 70 | ...p........OS/2..)7...0...`cmap |
| 0060 | 2b ed 7e 09 00 00 09 dc 00 00 05 dc 68 65 61 64 04 b0 ca 06 00 00 00 cc 00 00 00 36 68 68 65 61 | +.~.........head...........6hhea |
| 0080 | 1c 47 10 59 00 00 01 04 00 00 00 24 68 6d 74 78 72 60 ff b7 00 01 d2 c0 00 00 06 ac 6d 61 78 70 | .G.Y.......$hmtxr`..........maxp |
| 00a0 | 01 ab 50 00 00 00 01 28 00 00 00 06 6e 61 6d 65 f4 5a 39 5e 00 00 01 90 00 00 08 4c 70 6f 73 74 | ..P....(....name.Z9^.......Lpost |
| 00c0 | fe c1 00 a7 00 00 0f b8 00 00 00 20 00 01 00 00 00 01 01 89 95 d2 3c 7f 5f 0f 3c f5 00 03 0d 05 | ......................<._.<..... |
| 00e0 | 00 00 00 00 cb 6a ba a1 00 00 00 00 cb 6a ba a1 fd 5c fc b4 11 65 0c 8a 00 03 00 03 00 02 00 00 | .....j.......j...\...e.......... |
| 0100 | 00 00 00 00 00 01 00 00 0a 49 fd 44 02 9b 11 3b fd 5c fc a4 11 65 03 e8 00 9e ff a3 00 00 00 00 | .........I.D...;.\...e.......... |
| 0120 | 00 00 00 00 00 00 01 ab 00 00 50 00 01 ab 00 00 00 02 06 dc 03 20 00 05 00 04 09 1d 08 77 00 00 | ..........P..................w.. |
| 0140 | 01 d3 09 1d 08 77 00 00 06 36 00 a6 02 ed 00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 af 40 00 | .....w...6....................@. |
| 0160 | 20 6b 00 00 00 00 00 00 00 00 44 75 72 6f 00 21 00 20 fb 04 0a 49 fd 44 02 9b 0b 97 04 09 00 00 | .k........Duro.!.....I.D........ |
| 0180 | 00 13 00 00 00 00 06 f5 09 1a 00 00 00 20 00 0c 00 00 00 23 01 aa 00 01 00 00 00 00 00 00 00 46 | ...................#...........F |
| 01a0 | 00 00 00 01 00 00 00 00 00 01 00 05 00 46 00 01 00 00 00 00 00 02 00 0c 00 4b 00 01 00 00 00 00 | .............F...........K...... |
| 01c0 | 00 03 00 33 00 57 00 01 00 00 00 00 00 04 00 12 00 8a 00 01 00 00 00 00 00 05 00 29 00 9c 00 01 | ...3.W.....................).... |
| 01e0 | 00 00 00 00 00 06 00 0d 00 c5 00 01 00 00 00 00 00 07 00 21 00 d2 00 01 00 00 00 00 00 08 00 08 | ...................!............ |
| 0200 | 00 f3 00 01 00 00 00 00 00 09 00 08 00 fb 00 01 00 00 00 00 00 0a 00 01 01 03 00 01 00 00 00 00 | ................................ |
| 0220 | 00 0b 00 10 01 04 00 01 00 00 00 00 00 0c 00 01 01 03 00 01 00 00 00 00 00 0d 01 1a 01 14 00 01 | ................................ |
| 0240 | 00 00 00 00 00 0e 00 10 01 04 00 01 00 00 00 00 00 10 00 05 00 46 00 01 00 00 00 00 00 11 00 0c | .....................F.......... |
| 0260 | 00 4b 00 01 00 00 00 00 00 12 00 0e 02 2e 00 03 00 01 04 09 00 00 00 8c 02 3c 00 03 00 01 04 09 | .K.......................<...... |
| 0280 | 00 01 00 18 02 c8 00 03 00 01 04 09 00 02 00 16 02 e0 00 03 00 01 04 09 00 03 00 66 02 f6 00 03 | ...........................f.... |
| 02a0 | 00 01 04 09 00 04 00 1a 03 5c 00 03 00 01 04 09 00 05 00 52 03 76 00 03 00 01 04 09 00 06 00 1a | .........\.........R.v.......... |
| 02c0 | 03 5c 00 03 00 01 04 09 00 07 00 42 03 c8 00 03 00 01 04 09 00 08 00 10 04 0a 00 03 00 01 04 09 | .\.........B.................... |
| 02e0 | 00 09 00 10 04 1a 00 03 00 01 04 09 00 0a 00 02 04 2a 00 03 00 01 04 09 00 0b 00 20 04 2c 00 03 | .................*...........,.. |
| 0300 | 00 01 04 09 00 0c 00 02 04 2a 00 03 00 01 04 09 00 0d 02 34 04 4c 00 03 00 01 04 09 00 0e 00 20 | .........*.........4.L.......... |
| 0320 | 04 2c 00 03 00 01 04 09 00 10 00 0a 06 80 00 03 00 01 04 09 00 11 00 18 06 8a 43 6f 70 79 72 69 | .,........................Copyri |
| 0340 | 67 68 74 20 a9 20 32 30 31 31 2d 32 30 31 32 20 44 75 72 6f 74 79 70 65 2c 20 77 77 77 2e 64 75 | ght...2011-2012.Durotype,.www.du |
| 0360 | 72 6f 74 79 70 65 2e 63 6f 6d 2e 20 41 6c 6c 20 72 69 67 68 74 73 20 72 65 73 65 72 76 65 64 2e | rotype.com..All.rights.reserved. |
| 0380 | 46 6c 65 78 6f 48 65 61 76 79 20 49 74 61 6c 69 63 44 75 72 6f 74 79 70 65 20 2d 20 46 6c 65 78 | FlexoHeavy.ItalicDurotype.-.Flex |
| 03a0 | 6f 20 48 65 61 76 79 20 49 74 61 6c 69 63 20 2d 20 32 30 31 32 20 2d 20 56 65 72 73 69 6f 6e 20 | o.Heavy.Italic.-.2012.-.Version. |
| 03c0 | 31 2e 30 36 46 6c 65 78 6f 20 48 65 61 76 79 20 49 74 61 6c 69 63 56 65 72 73 69 6f 6e 20 31 2e | 1.06Flexo.Heavy.ItalicVersion.1. |
| 03e0 | 30 36 20 20 20 20 20 20 20 20 20 20 55 6c 74 72 61 50 72 65 63 69 73 69 6f 6e 20 46 6f 6e 74 46 | 06..........UltraPrecision.FontF |
| 0400 | 6c 65 78 6f 2d 48 65 61 76 79 49 74 46 6c 65 78 6f 20 69 73 20 61 20 74 72 61 64 65 6d 61 72 6b | lexo-HeavyItFlexo.is.a.trademark |
| 0420 | 20 6f 66 20 44 75 72 6f 74 79 70 65 2e 44 75 72 6f 74 79 70 65 42 65 6e 20 42 6c 6f 6d 20 77 77 | .of.Durotype.DurotypeBen.Blom.ww |
| 0440 | 77 2e 64 75 72 6f 74 79 70 65 2e 63 6f 6d 54 68 69 73 20 66 6f 6e 74 20 69 73 20 74 68 65 20 70 | w.durotype.comThis.font.is.the.p |
| 0460 | 72 6f 70 65 72 74 79 20 6f 66 20 44 75 72 6f 74 79 70 65 2c 20 61 6e 64 20 69 74 73 20 75 73 65 | roperty.of.Durotype,.and.its.use |
| 0480 | 20 62 79 20 79 6f 75 20 69 73 20 63 6f 76 65 72 65 64 20 75 6e 64 65 72 20 74 68 65 20 74 65 72 | .by.you.is.covered.under.the.ter |
| 04a0 | 6d 73 20 6f 66 20 61 20 6c 69 63 65 6e 73 65 20 61 67 72 65 65 6d 65 6e 74 2e 20 54 68 69 73 20 | ms.of.a.license.agreement..This. |
| 04c0 | 66 6f 6e 74 20 6d 61 79 20 6e 6f 74 20 62 65 20 67 69 76 65 6e 20 61 77 61 79 2c 20 73 6f 6c 64 | font.may.not.be.given.away,.sold |
| 04e0 | 2c 20 72 65 6e 74 65 64 20 6f 72 20 6c 6f 61 6e 65 64 20 74 6f 20 6f 74 68 65 72 73 20 69 6e 20 | ,.rented.or.loaned.to.others.in. |
| 0500 | 61 6e 79 20 77 61 79 2e 20 46 6f 72 20 66 75 6c 6c 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 2c 20 73 | any.way..For.full.information,.s |
| 0520 | 65 65 20 74 68 65 20 6c 69 63 65 6e 73 65 20 61 67 72 65 65 6d 65 6e 74 20 79 6f 75 20 72 65 63 | ee.the.license.agreement.you.rec |
| 0540 | 65 69 76 65 64 20 77 69 74 68 20 74 68 69 73 20 66 6f 6e 74 2e 20 20 20 77 77 77 2e 64 75 72 6f | eived.with.this.font....www.duro |
| 0560 | 74 79 70 65 2e 63 6f 6d 46 6c 65 78 6f 20 48 65 61 76 79 20 49 74 00 43 00 6f 00 70 00 79 00 72 | type.comFlexo.Heavy.It.C.o.p.y.r |
| 0580 | 00 69 00 67 00 68 00 74 00 20 00 a9 00 20 00 32 00 30 00 31 00 31 00 2d 00 32 00 30 00 31 00 32 | .i.g.h.t.......2.0.1.1.-.2.0.1.2 |
| 05a0 | 00 20 00 44 00 75 00 72 00 6f 00 74 00 79 00 70 00 65 00 2c 00 20 00 77 00 77 00 77 00 2e 00 64 | ...D.u.r.o.t.y.p.e.,...w.w.w...d |
| 05c0 | 00 75 00 72 00 6f 00 74 00 79 00 70 00 65 00 2e 00 63 00 6f 00 6d 00 2e 00 20 00 41 00 6c 00 6c | .u.r.o.t.y.p.e...c.o.m.....A.l.l |
| 05e0 | 00 20 00 72 00 69 00 67 00 68 00 74 00 73 00 20 00 72 00 65 00 73 00 65 00 72 00 76 00 65 00 64 | ...r.i.g.h.t.s...r.e.s.e.r.v.e.d |
| 0600 | 00 2e 00 46 00 6c 00 65 00 78 00 6f 00 20 00 4d 00 65 00 64 00 69 00 75 00 6d 00 42 00 6f 00 6c | ...F.l.e.x.o...M.e.d.i.u.m.B.o.l |
| 0620 | 00 64 00 20 00 49 00 74 00 61 00 6c 00 69 00 63 00 44 00 75 00 72 00 6f 00 74 00 79 00 70 00 65 | .d...I.t.a.l.i.c.D.u.r.o.t.y.p.e |
| 0640 | 00 20 00 2d 00 20 00 46 00 6c 00 65 00 78 00 6f 00 20 00 48 00 65 00 61 00 76 00 79 00 20 00 49 | ...-...F.l.e.x.o...H.e.a.v.y...I |
| 0660 | 00 74 00 61 00 6c 00 69 00 63 00 20 00 2d 00 20 00 32 00 30 00 31 00 32 00 20 00 2d 00 20 00 56 | .t.a.l.i.c...-...2.0.1.2...-...V |
| 0680 | 00 65 00 72 00 73 00 69 00 6f 00 6e 00 20 00 31 00 2e 00 30 00 36 00 46 00 6c 00 65 00 78 00 6f | .e.r.s.i.o.n...1...0.6.F.l.e.x.o |
| 06a0 | 00 2d 00 48 00 65 00 61 00 76 00 79 00 49 00 74 00 56 00 65 00 72 00 73 00 69 00 6f 00 6e 00 20 | .-.H.e.a.v.y.I.t.V.e.r.s.i.o.n.. |
| 06c0 | 00 31 00 2e 00 30 00 36 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 55 00 6c | .1...0.6.....................U.l |
| 06e0 | 00 74 00 72 00 61 00 50 00 72 00 65 00 63 00 69 00 73 00 69 00 6f 00 6e 00 20 00 46 00 6f 00 6e | .t.r.a.P.r.e.c.i.s.i.o.n...F.o.n |
| 0700 | 00 74 00 46 00 6c 00 65 00 78 00 6f 00 20 00 69 00 73 00 20 00 61 00 20 00 74 00 72 00 61 00 64 | .t.F.l.e.x.o...i.s...a...t.r.a.d |
| 0720 | 00 65 00 6d 00 61 00 72 00 6b 00 20 00 6f 00 66 00 20 00 44 00 75 00 72 00 6f 00 74 00 79 00 70 | .e.m.a.r.k...o.f...D.u.r.o.t.y.p |
| 0740 | 00 65 00 2e 00 44 00 7<UserControl x:Class="Tango.MachineStudio.HardwareDesigner.Views.ComparisonWizardView"
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:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:mahapps="http://metro.mahapps.com/winfx/xaml/controls"
xmlns:converters="clr-namespace:Tango.SharedUI.Converters;assembly=Tango.SharedUI"
xmlns:local="clr-namespace:Tango.MachineStudio.HardwareDesigner.ViewModels"
mc:Ignorable="d"
d:DesignHeight="800" d:DesignWidth="800" Height="700" Width="1100" Foreground="{StaticResource Dialog.Foreground}" Background="{StaticResource Dialog.Background}">
<UserControl.Resources>
<converters:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter"/>
<converters:BooleanToVisibilityInverseConverter x:Key="BooleanToVisibilityInverseConverter" />
<Style TargetType="TextBlock" x:Key="DifferenceTextBoxStyle">
<Style.Triggers>
<DataTrigger Binding="{Binding HasDifferences}" Value="True" >
<Setter Property="Foreground" Value="{StaticResource RedBrush100}"/>
</DataTrigger>
</Style.Triggers>
</Style>
<Style TargetType="TextBlock" x:Key="CollectionHasDifferenceTextBox">
<Style.Triggers>
<DataTrigger Binding="{Binding HasDifferences}" Value="True" >
<Setter Property="Foreground" Value="{StaticResource RedBrush100}"/>
</DataTrigger>
</Style.Triggers>
</Style>
<Style TargetType="ItemsControl" >
<Setter Property="FontSize" Value="14"></Setter>
<Setter Property="FontWeight" Value="Normal"></Setter>
</Style>
</UserControl.Resources>
<Grid>
<Grid Margin="10">
<Grid.RowDefinitions>
<RowDefinition Height="40"></RowDefinition>
<RowDefinition Height="40"></RowDefinition>
<RowDefinition Height="*" MinHeight="200"></RowDefinition>
<RowDefinition Height="Auto"></RowDefinition>
</Grid.RowDefinitions>
<UniformGrid Columns="3" Grid.Row="0" >
<ComboBox Margin="10 0 0 0" HorizontalAlignment="Left" IsEnabled="{Binding IsFree}" ItemsSource="{Binding HardwareVersions}" SelectedItem="{Binding SelectedVersion1}" Width="300" FontSize="16" FontWeight="Bold" materialDesign:HintAssist.Hint="Hardware Version 1">
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock><Run Text="{Binding Name}"></Run> <Run></Run> <Run Foreground="{StaticResource Dialog.Foreground}" FontSize="14">v</Run><Run Foreground="{StaticResource Dialog.Foreground}" FontSize="14" Text="{Binding Version}"></Run></TextBlock>
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
<TextBlock Text="Comparison Wizard" Foreground="{StaticResource LightGrayBrush}" FontStyle="Italic" FontWeight="Bold" FontSize="28" HorizontalAlignment="Center" VerticalAlignment="Center" ></TextBlock>
<ComboBox IsEnabled="{Binding IsFree}" ItemsSource="{Binding HardwareVersions}" SelectedItem="{Binding SelectedVersion2}" Width="300" FontSize="16" FontWeight="Bold" materialDesign:HintAssist.Hint="Hardware Version 2">
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock><Run Text="{Binding Name}"></Run> <Run></Run> <Run Foreground="{StaticResource Dialog.Foreground}" FontSize="14">v</Run><Run Foreground="{StaticResource Dialog.Foreground}" FontSize="14" Text="{Binding Version}"></Run></TextBlock>
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
</UniformGrid>
<StackPanel Orientation="Horizontal" Grid.Row="1" VerticalAlignment="Center" Margin="10 0 0 0" HorizontalAlignment="Left">
<CheckBox Name="cbShowOnlyDifference" IsChecked="{Binding IsShowDifference}" VerticalAlignment="Center"></CheckBox>
<TextBlock Margin="10 0 0 0" VerticalAlignment="Center" Text="Show Only Differences" FontSize="16" FontWeight="Normal"></TextBlock>
</StackPanel>
<Grid Grid.Row="2">
<ScrollViewer VerticalScrollBarVisibility="Auto" Margin="0 0 0 0" >
<Grid >
<ItemsControl Margin="0, 0, 0, 0" Name="lvDataBinding" ItemsSource="{Binding Result.Collections}" HorizontalContentAlignment="Stretch"
VerticalContentAlignment="Top" >
<ItemsControl.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical">
<TextBlock Margin="0,10,0,5" Text="{Binding CollectionName}" FontSize="22" FontWeight="SemiBold" HorizontalAlignment="Center" VerticalAlignment="Center" Style="{StaticResource CollectionHasDifferenceTextBox}"/>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="500*"/>
<ColumnDefinition Width="500*"/>
</Grid.ColumnDefinitions>
<Border Name="LeftB" Grid.Column="0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
<materialDesign:Card Margin="5,10,5,0" Padding="20 10">
<StackPanel Orientation="Vertical">
<ItemsControl Margin="10,0,0,0" Name="ComponentListLeft" ItemsSource="{Binding Components}" HorizontalContentAlignment="Stretch">
<ItemsControl.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical">
<TextBlock Margin="0,5,0,5" Text="{Binding ComponentName}" FontWeight="SemiBold" FontSize="18" Style="{StaticResource CollectionHasDifferenceTextBox}"/>
<Grid>
<ItemsControl Grid.Row="1" Margin="10" Name="PropertyListL" ItemsSource="{Binding Properties}" HorizontalContentAlignment="Stretch">
<ItemsControl.ItemTemplate>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="8*" />
<ColumnDefinition Width="2*"/>
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding PropertyName}" FontWeight="Normal" Grid.Column="0" Style="{StaticResource DifferenceTextBoxStyle}"/>
<TextBlock Text="{Binding Value1}" Grid.Column="1" Style="{StaticResource DifferenceTextBoxStyle}"/>
</Grid>
<DataTemplate.Triggers>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding ElementName=cbShowOnlyDifference, Path=IsChecked}" Value="True" />
<Condition Binding="{Binding HasDifferences}" Value="False" />
</MultiDataTrigger.Conditions>
<MultiDataTrigger.Setters>
<Setter Property="Visibility" Value="Collapsed" />
</MultiDataTrigger.Setters>
</MultiDataTrigger>
</DataTemplate.Triggers>
</DataTemplate>
</ItemsControl.ItemTemplate>
<ItemsControl.Style>
<Style TargetType="ItemsControl">
<Setter Property="Visibility" Value="Visible" />
<Style.Triggers>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding HasComponent1}" Value="False" />
<Condition Binding="{Binding HasComponent2}" Value="True" />
</MultiDataTrigger.Conditions>
<MultiDataTrigger.Setters>
<Setter Property="Visibility" Value="Hidden" />
</MultiDataTrigger.Setters>
</MultiDataTrigger>
</Style.Triggers>
</Style>
</ItemsControl.Style>
</ItemsControl>
<Border HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="Transparent" Height="{Binding ActualHeight, ElementName=PropertyListL}">
<Border.Style>
<Style TargetType="Border">
<Setter Property="Visibility" Value="Collapsed" />
<Style.Triggers>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding HasComponent1}" Value="False" />
<Condition Binding="{Binding HasComponent2}" Value="True" />
</MultiDataTrigger.Conditions>
<MultiDataTrigger.Setters>
<Setter Property="Visibility" Value="Visible" />
</MultiDataTrigger.Setters>
</MultiDataTrigger>
</Style.Triggers>
</Style>
</Border.Style>
<TextBlock Text="None" Foreground="{StaticResource RedBrush100}" FontWeight="SemiBold" HorizontalAlignment="Center" FontSize="16" VerticalAlignment="Center"/>
</Border>
</Grid>
</StackPanel>
<DataTemplate.Triggers>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding HasComponent1}" Value="False" />
<Condition Binding="{Binding HasComponent2}" Value="False" />
</MultiDataTrigger.Conditions>
<MultiDataTrigger.Setters>
<Setter Property="Visibility" Value="Collapsed" />
</MultiDataTrigger.Setters>
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding ElementName=cbShowOnlyDifference, Path=IsChecked}" Value="True" />
<Condition Binding="{Binding HasDifferences}" Value="False" />
</MultiDataTrigger.Conditions>
<MultiDataTrigger.Setters>
<Setter Property="Visibility" Value="Collapsed" />
</MultiDataTrigger.Setters>
</MultiDataTrigger>
</DataTemplate.Triggers>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</StackPanel>
</materialDesign:Card>
</Border>
<Border Name="RightB" Grid.Column="1" Margin="10,0,0,0">
<materialDesign:Card Margin="5,10,5,0" Padding="20 10">
<StackPanel Orientation="Vertical">
<ItemsControl Margin="10,0,0,0" Name="ComponentListRight" ItemsSource="{Binding Components}" HorizontalContentAlignment="Stretch">
<ItemsControl.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical">
<TextBlock Margin="0,5,0,5" FontSize="18" Text="{Binding ComponentName}" FontWeight="SemiBold" Style="{StaticResource CollectionHasDifferenceTextBox}"/>
<Grid>
<ItemsControl Grid.Row="1" Margin="10" Name="PropertyListR" ItemsSource="{Binding Properties}" HorizontalContentAlignment="Stretch">
<ItemsControl.ItemTemplate>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="8*" />
<ColumnDefinition Width="2*"/>
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding PropertyName}" FontWeight="Normal" Grid.Column="0" Style="{StaticResource DifferenceTextBoxStyle}"/>
<TextBlock Text="{Binding Value2}" Grid.Column="1" Style="{StaticResource DifferenceTextBoxStyle}"/>
</Grid>
<DataTemplate.Triggers>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding ElementName=cbShowOnlyDifference, Path=IsChecked}" Value="True" />
<Condition Binding="{Binding HasDifferences}" Value="False" />
</MultiDataTrigger.Conditions>
<MultiDataTrigger.Setters>
<Setter Property="Visibility" Value="Collapsed" />
</MultiDataTrigger.Setters>
</MultiDataTrigger>
</DataTemplate.Triggers>
</DataTemplate>
</ItemsControl.ItemTemplate>
<ItemsControl.Style>
<Style TargetType="ItemsControl">
<Setter Property="Visibility" Value="Visible" />
<Style.Triggers>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding HasComponent2}" Value="False" />
<Condition Binding="{Binding HasComponent1}" Value="True" />
</MultiDataTrigger.Conditions>
<MultiDataTrigger.Setters>
<Setter Property="Visibility" Value="Hidden" />
</MultiDataTrigger.Setters>
</MultiDataTrigger>
</Style.Triggers>
</Style>
</ItemsControl.Style>
</ItemsControl>
<Border HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="Transparent" Height="{Binding ActualHeight, ElementName=PropertyListR}">
<Border.Style>
<Style TargetType="Border">
<Setter Property="Visibility" Value="Collapsed" />
<Style.Triggers>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding HasComponent2}" Value="False" />
<Condition Binding="{Binding HasComponent1}" Value="True" />
</MultiDataTrigger.Conditions>
<MultiDataTrigger.Setters>
<Setter Property="Visibility" Value="Visible" />
</MultiDataTrigger.Setters>
</MultiDataTrigger>
</Style.Triggers>
</Style>
</Border.Style>
<TextBlock Text="None" FontWeight="SemiBold" HorizontalAlignment="Center" FontSize="16" VerticalAlignment="Center" Foreground="{StaticResource RedBrush100}"/>
</Border>
</Grid>
</StackPanel>
<DataTemplate.Triggers>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding HasComponent1}" Value="False" />
<Condition Binding="{Binding HasComponent2}" Value="False" />
</MultiDataTrigger.Conditions>
<MultiDataTrigger.Setters>
<Setter Property="Visibility" Value="Collapsed" />
</MultiDataTrigger.Setters>
</MultiDataTrigger>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding ElementName=cbShowOnlyDifference, Path=IsChecked}" Value="True" />
<Condition Binding="{Binding HasDifferences}" Value="False" />
</MultiDataTrigger.Conditions>
<MultiDataTrigger.Setters>
<Setter Property="Visibility" Value="Collapsed" />
</MultiDataTrigger.Setters>
</MultiDataTrigger>
</DataTemplate.Triggers>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</StackPanel>
</materialDesign:Card>
</Border>
</Grid>
</StackPanel>
<DataTemplate.Triggers>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding ElementName=cbShowOnlyDifference, Path=IsChecked}" Value="True" />
<Condition Binding="{Binding HasDifferences}" Value="False" />
</MultiDataTrigger.Conditions>
<MultiDataTrigger.Setters>
<Setter Property="Visibility" Value="Collapsed" />
</MultiDataTrigger.Setters>
</MultiDataTrigger>
</DataTemplate.Triggers>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</Grid>
</ScrollViewer>
</Grid>
<Grid Grid.Row="3" Margin="0,30,0,0">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
<Button Height="40" Command="{Binding GenerateReportCommand}" Margin="0,0,20,0">
<StackPanel Orientation="Horizontal">
<materialDesign:PackIcon Kind="FileExcel" Width="24" Height="24" />
<TextBlock Margin="10 0 0 0" VerticalAlignment="Center">GENERATE REPORT</TextBlock>
</StackPanel>
</Button>
<Button Width="140" Height="40" Command="{Binding OKCommand}">CLOSE</Button>
</StackPanel>
</Grid>
</Grid>
<Border CornerRadius="5" HorizontalAlignment="Center" VerticalAlignment="Center" Background="{StaticResource Transparent200}" Width="700" Height="350">
<Border.Style>
<Style TargetType="Border">
<Setter Property="Visibility" Value="Hidden"></Setter>
<Style.Triggers>
<DataTrigger Binding="{Binding Result}" Value="{x:Null}">
<Setter Property="Visibility" Value="Visible"></Setter>
</DataTrigger>
</Style.Triggers>
</Style>
</Border.Style>
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="16" Foreground="Gray">Select two hardware versions to display a comparison report</TextBlock>
</Border>
<Grid HorizontalAlignment="Stretch" Margin="10" VerticalAlignment="Stretch" Visibility="{Binding IsRunning,Converter={StaticResource BooleanToVisibilityConverter}}"
Background="{StaticResource TransparentBackgroundBrush500}">
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
<mahapps:ProgressRing Foreground="#007ACC" Width="80" Height="80"></mahapps:ProgressRing>
<TextBlock Text="Loading..." FontStyle="Italic" Margin="10 0 0 0" FontSize="30" VerticalAlignment="Center" Foreground="{StaticResource HomePageForeground}"></TextBlock>
</StackPanel>
</Grid>
</Grid>
</UserControl>
|