﻿<Page
    x:Class="FeedbackApp.SIUFViews.SIUF_ThankYouView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:FeedbackApp.SIUFViews"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    DataContext="{Binding DefaultViewModel, RelativeSource={RelativeSource Self}}"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="1500">

    <Page.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="SIUFStyles.xaml"/>
            </ResourceDictionary.MergedDictionaries>

            <ResourceDictionary.ThemeDictionaries>
                <ResourceDictionary x:Key="Default">
                    <SolidColorBrush x:Key="GrayBG" Color="#f6f6f6"/>
                    <SolidColorBrush x:Key="MainBG" Color="White"/>
                </ResourceDictionary>
                <ResourceDictionary x:Key="HighContrastBlack">
                    <SolidColorBrush x:Key="GrayBG" Color="Black"/>
                    <SolidColorBrush x:Key="MainBG" Color="Black"/>
                </ResourceDictionary>
                <ResourceDictionary x:Key="HighContrastWhite">
                    <SolidColorBrush x:Key="GrayBG" Color="White"/>
                    <SolidColorBrush x:Key="MainBG" Color="White"/>
                </ResourceDictionary>
            </ResourceDictionary.ThemeDictionaries>
            
            <Style TargetType="TextBlock">
                <Setter Property="TextWrapping" Value="WrapWholeWords"/>
            </Style>
        </ResourceDictionary>

    </Page.Resources>

    <Grid Background="{StaticResource GrayBG}">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="40"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="40"/>
        </Grid.ColumnDefinitions>
        
        <Grid.RowDefinitions>
            <RowDefinition Height="40"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="40"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="40"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        
        <!--Header-->
        <TextBlock Grid.Row="1" Grid.Column="1"
                   x:Uid="/FeedbackApp.Resources/SIUF_ThankYouViewModel_Header"
                   Style="{StaticResource HeaderTextBlockStyle}"
                   Text="Thank you1"/>
        
        <!--Main SubHeader-->
        <TextBlock Grid.Row="3" Grid.Column="1"
                   x:Uid="/FeedbackApp.Resources/SIUF_ThankYouViewModel_SubHeader" 
                   Style="{StaticResource SubheaderTextBlockStyle}" FontSize="16" 
                   Text="We'll use your feedback to improve your experience.2"/>

        <!--Manage feedback settings-->
        <!--Disable for now until we get the correct link-->
        <HyperlinkButton Grid.Row="4" Grid.Column="1"
                         x:Uid="/FeedbackApp.Resources/SIUF_ThankYouViewModel_ManageSettings"
                         Content="Manage feedback settings3"
                         Foreground="{StaticResource LinkColor}"
                         NavigateUri="ms-settings:privacy-feedback"
                         />

        <Button Grid.Row="6" Grid.Column="1"
                         x:Uid="/FeedbackApp.Resources/SIUF_ThankYouViewModel_GotoUIF"
                         Command="{Binding ReloadCommand}"
                         Style="{StaticResource SIUFButton}"
                         Margin="-3,0,0,0"
                         Content="Go to feedback home4"/>

    </Grid> 
</Page>

