<UserControl x:Class="BOB.Views.UpdateInfoView"
             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:i="http://schemas.microsoft.com/xaml/behaviors"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
             xmlns:prism="http://prismlibrary.com/"
             prism:ViewModelLocator.AutoWireViewModel="True"
             mc:Ignorable="d">

    <Grid Margin="20">
        <ListView ItemsSource="{Binding UpdateList}">
            <ListView.ItemTemplate>
                <DataTemplate>
                    <StackPanel Margin="5"
                                Orientation="Vertical">
                        <TextBlock Text="{Binding Time}"
                                   FontWeight="Bold"
                                   Foreground="#673ab7" />
                        <TextBlock Text="{Binding Message}"
                                   TextWrapping="Wrap"
                                   Margin="0,3,0,10" />
                    </StackPanel>
                </DataTemplate>
            </ListView.ItemTemplate>
        </ListView>
    </Grid>

</UserControl>
