﻿<UserControl
    x:Class="FeedbackApp.SIUFViews.SIUF_TextQuestionView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:FeedbackApp.SIUFViews"
    xmlns:conv="using:FeedbackApp.Converters"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300"
    d:DesignWidth="500">

    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="SIUFStyles.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        
        <!--Main SubHeader-->
        <TextBlock Grid.Row="0" 
                   Text="{Binding Path=QuestionText}" 
                   Style="{StaticResource QuestionText}"/>
        
        <!--Main Content-->
        <StackPanel Grid.Row="1" >
            <TextBox x:Uid="/FeedbackApp.Resources/SIUF_FollowupQuestion_TextBox" 
                     Style="{StaticResource FollowUpQuestionTextBox}"
                     Text="{Binding Mode=TwoWay, Path=InputText, UpdateSourceTrigger=PropertyChanged}"/>
        </StackPanel>
    </Grid>
</UserControl>

