2021-12-26 21:56:44 +00:00
|
|
|
<UserControl
|
|
|
|
x:Class="Wabbajack.LogView"
|
|
|
|
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:local="clr-namespace:Wabbajack"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
d:DesignHeight="450"
|
|
|
|
d:DesignWidth="800"
|
|
|
|
mc:Ignorable="d">
|
|
|
|
<Grid>
|
|
|
|
<Rectangle Fill="{StaticResource HeatedBorderBrush}" Opacity="{Binding ProgressPercent, RelativeSource={RelativeSource AncestorType={x:Type UserControl}}}" />
|
|
|
|
<ListBox
|
|
|
|
local:AutoScrollBehavior.ScrollOnNewItem="True"
|
|
|
|
BorderBrush="Transparent"
|
|
|
|
BorderThickness="1"
|
2021-12-31 22:00:03 +00:00
|
|
|
ItemsSource="{Binding LoggerProvider.MessageLog}"
|
2021-12-26 21:56:44 +00:00
|
|
|
ScrollViewer.HorizontalScrollBarVisibility="Disabled">
|
|
|
|
<ListBox.ItemTemplate>
|
|
|
|
<DataTemplate>
|
2021-12-31 22:00:03 +00:00
|
|
|
<TextBlock Text="{Binding ShortMessage}" TextWrapping="WrapWithOverflow" />
|
2021-12-26 21:56:44 +00:00
|
|
|
</DataTemplate>
|
|
|
|
</ListBox.ItemTemplate>
|
|
|
|
</ListBox>
|
|
|
|
</Grid>
|
|
|
|
</UserControl>
|