Bundles several feature streams that have been iterating on the working tree: - Developer Tools page (Debug-only via DEVELOPER_TOOLS symbol): hosts the identification card, manual KWP write + transaction log, ROM/EEPROM dump card with progress banner and completion message, persisted custom-commands library, persisted EEPROM passwords library. New service primitives: IKwpService.SendRawCustomAsync / ReadEepromAsync / ReadRomEepromAsync. Persistence mirrors the Clients XML pattern in two new files (custom_commands.xml, eeprom_passwords.xml). - Auto-test orchestrator (IAutoTestOrchestrator + AutoTestState): linear K-Line read -> unlock -> bench-on -> test sequence with snackbar UI and progress dialog VM, gated on dashboard alarms. - BIP-STATUS display: BipDisplayViewModel + BipDisplayView, RAM read at 0x0106 via IKwpService.ReadBipStatusAsync; status definitions in BipStatusDefinition. - Tests page redesign: TestSectionCard + PhaseTileView replacing the old TestPlanView/TestRunningView/TestDoneView/TestPreconditionsView/ TestSectionView controls and their VMs. - Pump command sliders: Fluent thick-track style with overhang thumb, click-anywhere-and-drag, mouse-wheel adjustment. - Window startup: app.manifest declares PerMonitorV2 DPI awareness, MainWindow installs a WM_GETMINMAXINFO hook in OnSourceInitialized and maximizes there (after the hook is in place) so the app fits the work area exactly on any display configuration. - Misc: PercentToPixelsConverter, seed_aliases.py one-shot pump-alias importer, tools/Import-BipStatus.ps1, kline_eeprom_spec.md and dump-functions reference docs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
421 lines
24 KiB
XML
421 lines
24 KiB
XML
<UserControl x:Class="HC_APTBS.Views.Pages.DeveloperPage"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
|
|
xmlns:uc="clr-namespace:HC_APTBS.Views.UserControls"
|
|
xmlns:vm="clr-namespace:HC_APTBS.ViewModels.Pages"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="900" d:DesignWidth="1400"
|
|
d:DataContext="{d:DesignInstance vm:DeveloperPageViewModel, IsDesignTimeCreatable=False}">
|
|
<!--
|
|
Developer Tools page — raw KWP/K-Line workbench. Compiled into Debug builds
|
|
only via the DEVELOPER_TOOLS symbol; the page files are removed from Release
|
|
builds in HC_APTBS.csproj.
|
|
|
|
Layout:
|
|
Col 0 (1*, 4 stacked cards): Identification, Dump, Custom commands, EEPROM passwords
|
|
Col 1 (1.5*): Manual hex write + transaction log (full height)
|
|
-->
|
|
<UserControl.Resources>
|
|
<BooleanToVisibilityConverter x:Key="BoolToVis"/>
|
|
|
|
<Style x:Key="DevSectionHeader" TargetType="TextBlock">
|
|
<Setter Property="FontFamily" Value="{DynamicResource ContentControlThemeFontFamily}"/>
|
|
<Setter Property="FontSize" Value="14"/>
|
|
<Setter Property="FontWeight" Value="SemiBold"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource TextFillColorPrimaryBrush}"/>
|
|
<Setter Property="Margin" Value="0,0,0,8"/>
|
|
</Style>
|
|
|
|
<Style x:Key="DevFieldLabel" TargetType="TextBlock">
|
|
<Setter Property="FontSize" Value="12"/>
|
|
<Setter Property="Foreground" Value="{DynamicResource TextFillColorSecondaryBrush}"/>
|
|
<Setter Property="Margin" Value="0,0,0,2"/>
|
|
</Style>
|
|
</UserControl.Resources>
|
|
|
|
<Grid Margin="12">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*" MinWidth="320"/>
|
|
<ColumnDefinition Width="1.5*" MinWidth="380"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<!-- ── Big "DUMP IN PROGRESS" banner — only for dumps > 0x0A00 bytes ── -->
|
|
<Border Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2"
|
|
Margin="0,0,0,12" Padding="20,14" CornerRadius="8"
|
|
Background="{DynamicResource AccentFillColorDefaultBrush}"
|
|
DataContext="{Binding Dump}"
|
|
Visibility="{Binding IsLargeDumpInProgress, Converter={StaticResource BoolToVis}}">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<ui:SymbolIcon Grid.Column="0" Grid.RowSpan="2"
|
|
Symbol="ArrowDownload24" FontSize="34"
|
|
Foreground="{DynamicResource TextOnAccentFillColorPrimaryBrush}"
|
|
VerticalAlignment="Center" Margin="0,0,16,0"/>
|
|
|
|
<StackPanel Grid.Column="1" Grid.Row="0" Margin="0,0,0,4">
|
|
<TextBlock Text="DUMP IN PROGRESS"
|
|
FontSize="22" FontWeight="SemiBold"
|
|
Foreground="{DynamicResource TextOnAccentFillColorPrimaryBrush}"/>
|
|
<TextBlock FontSize="13"
|
|
Foreground="{DynamicResource TextOnAccentFillColorSecondaryBrush}">
|
|
<Run Text="Reading "/>
|
|
<Run Text="{Binding Region}"/>
|
|
<Run Text=" — "/>
|
|
<Run Text="{Binding TotalBytes}"/>
|
|
<Run Text=" bytes total. Current address "/>
|
|
<Run Text="0x"/>
|
|
<Run Text="{Binding CurrentAddress, StringFormat=X4, Mode=OneWay}"/>
|
|
<Run Text="."/>
|
|
</TextBlock>
|
|
</StackPanel>
|
|
|
|
<StackPanel Grid.Column="2" Grid.Row="0" VerticalAlignment="Center">
|
|
<TextBlock HorizontalAlignment="Right"
|
|
FontSize="26" FontWeight="SemiBold"
|
|
Foreground="{DynamicResource TextOnAccentFillColorPrimaryBrush}">
|
|
<Run Text="{Binding BytesCollected, Mode=OneWay}"/>
|
|
<Run Text=" / "/>
|
|
<Run Text="{Binding TotalBytes, Mode=OneWay}"/>
|
|
</TextBlock>
|
|
<TextBlock HorizontalAlignment="Right" FontSize="11"
|
|
Foreground="{DynamicResource TextOnAccentFillColorSecondaryBrush}"
|
|
Text="bytes"/>
|
|
</StackPanel>
|
|
|
|
<ProgressBar Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="1"
|
|
Value="{Binding Progress, Mode=OneWay}" Maximum="1"
|
|
Height="10"
|
|
Margin="0,8,0,0"
|
|
Background="{DynamicResource AccentFillColorSecondaryBrush}"
|
|
Foreground="{DynamicResource TextOnAccentFillColorPrimaryBrush}"/>
|
|
</Grid>
|
|
</Border>
|
|
|
|
<!-- ── Left column: stacked tool cards ──────────────────────────────── -->
|
|
<Grid Grid.Row="1" Grid.Column="0" Margin="0,0,6,0">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- Identification card — reuse the existing UserControl, bound to the singleton VM -->
|
|
<uc:PumpIdentificationCard Grid.Row="0"
|
|
DataContext="{Binding Identification}"
|
|
Margin="0,0,0,8"/>
|
|
|
|
<!-- ── Dump card ────────────────────────────────────────────────── -->
|
|
<Border Grid.Row="1" Style="{StaticResource PumpCard}" Margin="0,0,0,8"
|
|
DataContext="{Binding Dump}">
|
|
<StackPanel>
|
|
<DockPanel Margin="0,0,0,8">
|
|
<ui:SymbolIcon DockPanel.Dock="Left" Symbol="ArrowDownload24" FontSize="16"
|
|
Foreground="{DynamicResource AccentTextFillColorPrimaryBrush}"
|
|
Margin="0,0,8,0" VerticalAlignment="Center"/>
|
|
<TextBlock Text="ROM / EEPROM dump" Style="{StaticResource DevSectionHeader}" Margin="0"/>
|
|
</DockPanel>
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="0,0,0,8">
|
|
<RadioButton GroupName="DumpRegion" Content="ROM"
|
|
IsChecked="{Binding IsRomSelected, Mode=TwoWay}"
|
|
Margin="0,0,16,0"/>
|
|
<RadioButton GroupName="DumpRegion" Content="EEPROM"
|
|
IsChecked="{Binding IsEepromSelected, Mode=TwoWay}"/>
|
|
</StackPanel>
|
|
|
|
<Grid Margin="0,0,0,8">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<StackPanel Grid.Column="0" Margin="0,0,4,0">
|
|
<TextBlock Text="Start (hex)" Style="{StaticResource DevFieldLabel}"/>
|
|
<ui:TextBox Text="{Binding StartAddressHex, UpdateSourceTrigger=PropertyChanged}"
|
|
FontFamily="Consolas, 'Courier New'"/>
|
|
</StackPanel>
|
|
<StackPanel Grid.Column="1" Margin="4,0,0,0">
|
|
<TextBlock Text="End (hex)" Style="{StaticResource DevFieldLabel}"/>
|
|
<ui:TextBox Text="{Binding EndAddressHex, UpdateSourceTrigger=PropertyChanged}"
|
|
FontFamily="Consolas, 'Courier New'"/>
|
|
</StackPanel>
|
|
</Grid>
|
|
|
|
<DockPanel Margin="0,0,0,4">
|
|
<ui:Button DockPanel.Dock="Right"
|
|
Appearance="Primary"
|
|
Content="Dump"
|
|
Icon="{ui:SymbolIcon ArrowDownload24}"
|
|
Command="{Binding DumpCommand}"/>
|
|
<ProgressBar Value="{Binding Progress}" Maximum="1" Height="6"
|
|
VerticalAlignment="Center" Margin="0,0,8,0"/>
|
|
</DockPanel>
|
|
|
|
<TextBlock Text="{Binding StatusText}" FontSize="11"
|
|
Foreground="{DynamicResource TextFillColorSecondaryBrush}"
|
|
TextWrapping="Wrap"/>
|
|
</StackPanel>
|
|
</Border>
|
|
|
|
<!-- ── Custom commands library card ─────────────────────────────── -->
|
|
<Border Grid.Row="2" Style="{StaticResource PumpCard}" Margin="0,0,0,8"
|
|
DataContext="{Binding Commands}">
|
|
<DockPanel>
|
|
<DockPanel DockPanel.Dock="Top" Margin="0,0,0,8">
|
|
<ui:SymbolIcon DockPanel.Dock="Left" Symbol="BookmarkMultiple24" FontSize="16"
|
|
Foreground="{DynamicResource AccentTextFillColorPrimaryBrush}"
|
|
Margin="0,0,8,0" VerticalAlignment="Center"/>
|
|
<TextBlock Text="Saved commands" Style="{StaticResource DevSectionHeader}" Margin="0"/>
|
|
</DockPanel>
|
|
|
|
<Grid DockPanel.Dock="Bottom" Margin="0,8,0,0">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<ui:TextBox Grid.Column="0"
|
|
Text="{Binding NewName, UpdateSourceTrigger=PropertyChanged}"
|
|
PlaceholderText="Name to save current as…"/>
|
|
<ui:Button Grid.Column="1" Margin="6,0,0,0"
|
|
Content="Save current" Icon="{ui:SymbolIcon Save24}"
|
|
Command="{Binding SaveCurrentCommand}"/>
|
|
<ui:Button Grid.Column="2" Margin="6,0,0,0"
|
|
Appearance="Primary"
|
|
Content="Send" Icon="{ui:SymbolIcon Send24}"
|
|
Command="{Binding SendSelectedCommand}"/>
|
|
<ui:Button Grid.Column="3" Margin="6,0,0,0"
|
|
Content="Delete" Icon="{ui:SymbolIcon Delete24}"
|
|
Command="{Binding DeleteSelectedCommand}"/>
|
|
</Grid>
|
|
|
|
<ListView ItemsSource="{Binding Items}"
|
|
SelectedItem="{Binding Selected, Mode=TwoWay}"
|
|
FontFamily="Consolas, 'Courier New'" FontSize="12">
|
|
<ListView.View>
|
|
<GridView>
|
|
<GridViewColumn Header="Name" Width="120"
|
|
DisplayMemberBinding="{Binding Name}"/>
|
|
<GridViewColumn Header="Hex" Width="220"
|
|
DisplayMemberBinding="{Binding HexBytes}"/>
|
|
</GridView>
|
|
</ListView.View>
|
|
</ListView>
|
|
</DockPanel>
|
|
</Border>
|
|
|
|
<!-- ── EEPROM passwords library card ────────────────────────────── -->
|
|
<Border Grid.Row="3" Style="{StaticResource PumpCard}"
|
|
DataContext="{Binding Passwords}">
|
|
<DockPanel>
|
|
<DockPanel DockPanel.Dock="Top" Margin="0,0,0,8">
|
|
<ui:SymbolIcon DockPanel.Dock="Left" Symbol="Key24" FontSize="16"
|
|
Foreground="{DynamicResource AccentTextFillColorPrimaryBrush}"
|
|
Margin="0,0,8,0" VerticalAlignment="Center"/>
|
|
<TextBlock Text="EEPROM passwords" Style="{StaticResource DevSectionHeader}" Margin="0"/>
|
|
</DockPanel>
|
|
|
|
<!-- "Add new" inline editor -->
|
|
<Grid DockPanel.Dock="Bottom" Margin="0,8,0,0">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="60"/>
|
|
<ColumnDefinition Width="80"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<ui:TextBox Grid.Column="0"
|
|
Text="{Binding NewName, UpdateSourceTrigger=PropertyChanged}"
|
|
PlaceholderText="Name (e.g. 'Bosch v2 Z3')"/>
|
|
<ui:TextBox Grid.Column="1" Margin="6,0,0,0"
|
|
Text="{Binding NewZoneHex, UpdateSourceTrigger=PropertyChanged}"
|
|
PlaceholderText="Zone"
|
|
FontFamily="Consolas, 'Courier New'"/>
|
|
<ui:TextBox Grid.Column="2" Margin="6,0,0,0"
|
|
Text="{Binding NewKeyHex, UpdateSourceTrigger=PropertyChanged}"
|
|
PlaceholderText="Key"
|
|
FontFamily="Consolas, 'Courier New'"/>
|
|
<ui:Button Grid.Column="3" Margin="6,0,0,0"
|
|
Content="Add" Icon="{ui:SymbolIcon Add24}"
|
|
Command="{Binding AddCommand}"/>
|
|
<ui:Button Grid.Column="4" Margin="6,0,0,0"
|
|
Appearance="Primary"
|
|
Content="Apply" Icon="{ui:SymbolIcon LockOpen24}"
|
|
Command="{Binding ApplySelectedCommand}"/>
|
|
<ui:Button Grid.Column="5" Margin="6,0,0,0"
|
|
Content="Delete" Icon="{ui:SymbolIcon Delete24}"
|
|
Command="{Binding DeleteSelectedCommand}"/>
|
|
</Grid>
|
|
|
|
<ListView ItemsSource="{Binding Items}"
|
|
SelectedItem="{Binding Selected, Mode=TwoWay}"
|
|
FontFamily="Consolas, 'Courier New'" FontSize="12">
|
|
<ListView.View>
|
|
<GridView>
|
|
<GridViewColumn Header="Name" Width="160"
|
|
DisplayMemberBinding="{Binding Name}"/>
|
|
<GridViewColumn Header="Zone" Width="60">
|
|
<GridViewColumn.CellTemplate>
|
|
<DataTemplate>
|
|
<TextBlock Text="{Binding Zone, StringFormat=X2}"/>
|
|
</DataTemplate>
|
|
</GridViewColumn.CellTemplate>
|
|
</GridViewColumn>
|
|
<GridViewColumn Header="Key" Width="80">
|
|
<GridViewColumn.CellTemplate>
|
|
<DataTemplate>
|
|
<TextBlock Text="{Binding Key, StringFormat=X4}"/>
|
|
</DataTemplate>
|
|
</GridViewColumn.CellTemplate>
|
|
</GridViewColumn>
|
|
</GridView>
|
|
</ListView.View>
|
|
</ListView>
|
|
</DockPanel>
|
|
</Border>
|
|
</Grid>
|
|
|
|
<!-- ── Right column: manual hex write + transaction log ─────────────── -->
|
|
<Border Grid.Row="1" Grid.Column="1" Style="{StaticResource PumpCard}" Margin="6,0,0,0">
|
|
<DockPanel>
|
|
<!-- Header -->
|
|
<DockPanel DockPanel.Dock="Top" Margin="0,0,0,8">
|
|
<ui:SymbolIcon DockPanel.Dock="Left" Symbol="WrenchScrewdriver24" FontSize="18"
|
|
Foreground="{DynamicResource AccentTextFillColorPrimaryBrush}"
|
|
VerticalAlignment="Center" Margin="0,0,8,0"/>
|
|
<StackPanel>
|
|
<TextBlock Text="Manual KWP write"
|
|
Style="{StaticResource DevSectionHeader}" Margin="0"/>
|
|
<TextBlock Text="Type raw bytes, send over the active K-Line session, watch the wire."
|
|
FontSize="11"
|
|
Foreground="{DynamicResource TextFillColorSecondaryBrush}"/>
|
|
</StackPanel>
|
|
</DockPanel>
|
|
|
|
<!-- Session status banner -->
|
|
<Border DockPanel.Dock="Top" Margin="0,0,0,8" Padding="10,6" CornerRadius="4"
|
|
BorderThickness="1"
|
|
BorderBrush="{DynamicResource ControlStrokeColorDefaultBrush}">
|
|
<Border.Style>
|
|
<Style TargetType="Border">
|
|
<Setter Property="Background" Value="{DynamicResource SystemFillColorCautionBackgroundBrush}"/>
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding IsSessionOpen}" Value="True">
|
|
<Setter Property="Background" Value="{DynamicResource SystemFillColorSuccessBackgroundBrush}"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</Border.Style>
|
|
<StackPanel Orientation="Horizontal">
|
|
<ui:SymbolIcon FontSize="14" Margin="0,0,6,0" VerticalAlignment="Center">
|
|
<ui:SymbolIcon.Style>
|
|
<Style TargetType="ui:SymbolIcon">
|
|
<Setter Property="Symbol" Value="PlugDisconnected20"/>
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding IsSessionOpen}" Value="True">
|
|
<Setter Property="Symbol" Value="PlugConnected20"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</ui:SymbolIcon.Style>
|
|
</ui:SymbolIcon>
|
|
<TextBlock VerticalAlignment="Center" FontSize="12">
|
|
<TextBlock.Style>
|
|
<Style TargetType="TextBlock">
|
|
<Setter Property="Text" Value="K-Line session not connected — open one from the identification card on the left."/>
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding IsSessionOpen}" Value="True">
|
|
<Setter Property="Text" Value="K-Line session is open."/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</TextBlock.Style>
|
|
</TextBlock>
|
|
</StackPanel>
|
|
</Border>
|
|
|
|
<!-- Input row -->
|
|
<Grid DockPanel.Dock="Top" Margin="0,0,0,8">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition Width="Auto"/>
|
|
</Grid.ColumnDefinitions>
|
|
<ui:TextBox Grid.Column="0"
|
|
Text="{Binding HexInput, UpdateSourceTrigger=PropertyChanged}"
|
|
PlaceholderText="Hex bytes — e.g. 18 00 03 FF FF"
|
|
FontFamily="Consolas, 'Courier New'"
|
|
FontSize="13"
|
|
Padding="10,8"/>
|
|
<ui:Button Grid.Column="1" Margin="8,0,0,0"
|
|
Appearance="Primary"
|
|
Content="Send"
|
|
Icon="{ui:SymbolIcon Send24}"
|
|
Command="{Binding SendCommand}"/>
|
|
<ui:Button Grid.Column="2" Margin="8,0,0,0"
|
|
Appearance="Secondary"
|
|
Content="Clear log"
|
|
Icon="{ui:SymbolIcon Eraser24}"
|
|
Command="{Binding ClearLogCommand}"/>
|
|
</Grid>
|
|
|
|
<!-- Status -->
|
|
<TextBlock DockPanel.Dock="Top" Margin="2,0,0,6"
|
|
Text="{Binding StatusText}"
|
|
FontSize="12"
|
|
Foreground="{DynamicResource TextFillColorSecondaryBrush}"/>
|
|
|
|
<!-- Log -->
|
|
<Border Background="{DynamicResource ControlSolidFillColorDefaultBrush}"
|
|
BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}"
|
|
BorderThickness="1" CornerRadius="6">
|
|
<ScrollViewer x:Name="LogScroller" VerticalScrollBarVisibility="Auto" Padding="8">
|
|
<ItemsControl ItemsSource="{Binding Log}">
|
|
<ItemsControl.ItemTemplate>
|
|
<DataTemplate>
|
|
<TextBlock Text="{Binding Display}"
|
|
FontFamily="Consolas, 'Courier New'"
|
|
FontSize="12"
|
|
Padding="2,1">
|
|
<TextBlock.Style>
|
|
<Style TargetType="TextBlock">
|
|
<Setter Property="Foreground" Value="{DynamicResource TextFillColorPrimaryBrush}"/>
|
|
<Style.Triggers>
|
|
<DataTrigger Binding="{Binding Direction}" Value="Tx">
|
|
<Setter Property="Foreground" Value="{DynamicResource AccentTextFillColorPrimaryBrush}"/>
|
|
</DataTrigger>
|
|
<DataTrigger Binding="{Binding Direction}" Value="Info">
|
|
<Setter Property="Foreground" Value="{DynamicResource TextFillColorSecondaryBrush}"/>
|
|
</DataTrigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</TextBlock.Style>
|
|
</TextBlock>
|
|
</DataTemplate>
|
|
</ItemsControl.ItemTemplate>
|
|
</ItemsControl>
|
|
</ScrollViewer>
|
|
</Border>
|
|
</DockPanel>
|
|
</Border>
|
|
</Grid>
|
|
</UserControl>
|