<ContentDialog
    x:Class="JumpPoint.Uwp.Dialogs.RequestPermissionDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:JumpPoint.Uwp.Dialogs"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Title="Request Access"
    PrimaryButtonText="Allow"
    PrimaryButtonCommand="{x:Bind ViewModel.AllowCommand}"
    DefaultButton="Primary">

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

    <Grid>
        <TextBlock Text="To get started, you'll need to grant the app permission to access your file system. This will open the Settings Privacy page. You'll need to restart the app once completed."
                   TextWrapping="WrapWholeWords"/>
    </Grid>
</ContentDialog>
