<controls:ChildWindow x:Class="TaskIt.Views.Dialogs.ErrorChildWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"     
    Style="{StaticResource ChildWindowStyle}"    
    Title="{Binding ApplicationStrings.Title_Error, Source={StaticResource ResourceWrapper}}">

    <StackPanel Width="780">
        <TextBlock x:Name="IntroductoryText" Text="{Binding CommonStrings.ErrorMessage_GenericError, Source={StaticResource ResourceWrapper}}" TextWrapping="Wrap"/>
        <Rectangle Style="{StaticResource StandardSpacerStyle}"/>
        <StackPanel x:Name="ContentStackPanel">
            <TextBlock x:Name="LabelText" Text="{Binding CommonStrings.Label_ErrorDetails, Source={StaticResource ResourceWrapper}}" TextWrapping="Wrap"/>
            <TextBox x:Name="ErrorTextBox" Width="Auto" Height="400" IsReadOnly="True" VerticalScrollBarVisibility="Auto" TextWrapping="Wrap"/>
        </StackPanel>
        <Rectangle Style="{StaticResource LargeSpacerStyle}"/>
        <Button Content="{Binding CommonStrings.Command_OK, Source={StaticResource ResourceWrapper}}" HorizontalAlignment="Left" TabIndex="0" Click="OKButton_Click"/>
    </StackPanel>

</controls:ChildWindow>
    