<Page
    x:Class="AppBarPad.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:AppBarPad"
    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}">
        <TextBox Name="txtbox"
                 IsEnabled="False"
                 FontSize="24"
                 AcceptsReturn="True" />
    </Grid>

    <Page.BottomAppBar>
        <AppBar>
            <Grid>
                <StackPanel Orientation="Horizontal"
                            HorizontalAlignment="Left">
                    
                    <Button x:ConnectionId='3' Style="{StaticResource FontIncreaseAppBarButtonStyle}"
                            AutomationProperties.Name="Zwiększ czcionkę"
                                                                    />
                    
                    <Button x:ConnectionId='4' Style="{StaticResource FontDecreaseAppBarButtonStyle}"
                            AutomationProperties.Name="Zmniejsz czcionkę"
                                                                    />

                    <Button x:ConnectionId='5' Style="{StaticResource SettingsAppBarButtonStyle}"
                            AutomationProperties.Name="Opcje zawijania"
                                                                  />
                </StackPanel>

                <StackPanel Orientation="Horizontal"
                            HorizontalAlignment="Right">

                    <Button x:ConnectionId='1' Style="{StaticResource OpenFileAppBarButtonStyle}"
                            AutomationProperties.Name="Otwórz plik"
                                                            />

                    <Button x:ConnectionId='2' Style="{StaticResource SaveAppBarButtonStyle}"
                            AutomationProperties.Name="Zapisz jako"
                                                              />
                </StackPanel>
            </Grid>
        </AppBar>
    </Page.BottomAppBar>
</Page>

