<Page
    x:Class="Compression.MainPage"
    IsTabStop="false"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Compression"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal">
            <Button x:Name="CompressButton" Content="Compress" Click="Button_Click_1"/>
            <Button x:Name="DecompressButton" Content="Decompress" Click="Button_Click_2"/>
        </StackPanel>
        <ScrollViewer Grid.Row="1" Margin="50">
            <TextBlock FontSize="12" x:Name="BigText" 
                       Margin="20"
                       Height="9999" TextWrapping="Wrap"/>
        </ScrollViewer>
    </Grid>
</Page>
