<Page
    x:Class="ChatbotLex.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:ChatbotLex"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Width="675.803">

    <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="10*"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <ScrollContentPresenter Name="sc" Grid.ColumnSpan="2" Grid.Row="0" VerticalAlignment="Bottom">
            <ScrollViewer VerticalScrollBarVisibility="Auto" VerticalScrollMode="Auto">
                <Grid Name="grdChat" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="*"/>
                        <ColumnDefinition Width="8*"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>

                </Grid>
            </ScrollViewer>
        </ScrollContentPresenter>
        <TextBox x:Name="txtMessage" Grid.Column="0" Grid.Row="1" Margin="5,0,5,0" HorizontalAlignment="Stretch" KeyDown="TxtMessage_KeyDown" />
        <Button x:Name="btnMessage" Grid.Column="1" Grid.Row="1" Content=">" HorizontalAlignment="Stretch" VerticalAlignment="Top" Height="50" Margin="0,0,0,0" Click="btnMessage_Click" />
        <MediaElement x:Name="mediaElt" HorizontalAlignment="Left" Height="100" Margin="1134,75,0,0" VerticalAlignment="Top" Width="100"/>
    </Grid>
</Page>
