<?xml version="1.0" encoding="utf-8"?>
<UserControl
    x:Class="Sonex.Client.Views.AppLogDiagnosticsView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:controls="using:Sonex.Client.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <ScrollViewer
        Background="{StaticResource CardBackgroundFillColorSecondaryBrush}"
        Padding="8"
        HorizontalScrollMode="Auto"
        HorizontalScrollBarVisibility="Auto"
        VerticalScrollMode="Auto"
        VerticalScrollBarVisibility="Auto">

        <StackPanel
            Orientation="Horizontal"
            VerticalAlignment="Top"
            Spacing="16">

            <StackPanel Orientation="Vertical" Spacing="8">

                <controls:TextProperty x:Name="ExceptionTypeProperty" Header="Exception type" Width="760" HeaderWidth="80" IsReadOnly="True" />
                <controls:TextProperty
                    x:Name="MessageProperty"
                    Header="Message"
                    Width="760"
                    HeaderWidth="80"
                    TextBoxHeight="56"
                    AcceptsReturn="True"
                    TextWrapping="Wrap"
                    VerticalScrollBarVisibility="Auto"
                    IsReadOnly="True" />
                <controls:TextProperty
                    x:Name="ExceptionProperty"
                    Width="760"
                    HeaderWidth="80"
                    Header="Exception"
                    TextBoxHeight="200"
                    AcceptsReturn="True"
                    TextWrapping="NoWrap"
                    HorizontalScrollBarVisibility="Auto"
                    VerticalScrollBarVisibility="Auto"
                    IsReadOnly="True" />
            </StackPanel>

            <AppBarSeparator />

            <StackPanel Orientation="Vertical" Spacing="8">
                <controls:TextProperty
                    x:Name="ReportedMessageProperty"
                    Header="Reported"
                    Width="760"
                    HeaderWidth="80"
                    TextBoxHeight="56"
                    AcceptsReturn="True"
                    TextWrapping="Wrap"
                    VerticalScrollBarVisibility="Auto"
                    IsReadOnly="True" />

                <controls:TextProperty
                    x:Name="ContextProperty"
                    Header="Context"
                    Width="760"
                    HeaderWidth="80"
                    TextBoxHeight="110"
                    AcceptsReturn="True"
                    TextWrapping="NoWrap"
                    HorizontalScrollBarVisibility="Auto"
                    VerticalScrollBarVisibility="Auto"
                    IsReadOnly="True" />
                <controls:TextProperty
                    x:Name="ExceptionDataProperty"
                    Header="Data"
                    Width="760"
                    HeaderWidth="80"
                    TextBoxHeight="110"
                    AcceptsReturn="True"
                    TextWrapping="NoWrap"
                    HorizontalScrollBarVisibility="Auto"
                    VerticalScrollBarVisibility="Auto"
                    IsReadOnly="True" />
            </StackPanel>

        </StackPanel>
    </ScrollViewer>
</UserControl>
