<ContentDialog 
    x:Class="was.touchcopy.features.dialogs.CopyFailureContentDialog"
    xmlns:local="using:was.touchcopy.features.dialogs"
    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" 
    mc:Ignorable="d"
    x:Uid="CopyFailureContentDialog"
    CloseButtonText="XX OK"  
     DefaultButton="Close"
    SecondaryButtonText="XX Copy to Clipboard"
    SecondaryButtonClick="ContentDialog_SecondaryButtonClick"
    Title="XX Copy Failed">

    <ContentDialog.Resources>
        <Style TargetType="local:CopyFailureContentDialog" BasedOn="{StaticResource DefaultContentDialogStyle}"/>
    </ContentDialog.Resources>

    <ContentDialog.Content>
        <StackPanel >
            <TextBlock x:Uid="CopyFailureContentDialogDescription" Text="XX The copy operation failed. The error recevied is shown below..." 
                       TextWrapping="Wrap"  />
            <Border  HorizontalAlignment="Stretch" Padding="7" Margin="0,10" BorderBrush="{ThemeResource ContentDialogBackgroundThemeBrush}" BorderThickness="2" 
                     MaxWidth="500" MinHeight="80" CornerRadius="6" Background="{ThemeResource SystemControlPageBackgroundListLowBrush}">
                <ScrollViewer MaxHeight="150" >
                    <TextBlock x:Name="textBlockErrorInformation" Margin="0,0,10,0" HorizontalAlignment="Stretch" TextWrapping="WrapWholeWords" />
                </ScrollViewer>
            </Border>
            <CheckBox x:Uid="CopyFailureContentDialogCheckBox" x:Name="checkBoxDontShowAgain" Content="XX Don't show this message again." Margin="0,20,0,0"  />
        </StackPanel>

    </ContentDialog.Content>
</ContentDialog>
