<Page
    x:Class="PushNotificationTest.MainPage"
    IsTabStop="false"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:PushNotificationTest"
    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.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <TextBlock Text="Tu wklej kanał:" Margin="10" VerticalAlignment="Center"/>
        <TextBox Grid.Column="1" Margin="10" x:Name="ChannelUri"/>
        <TextBlock Text="Wybierz wartość wskaźnika:" Grid.Row="1" Margin="10" VerticalAlignment="Center"/>
        <Slider Minimum="1" Maximum="99" Value="11" Margin="10" x:Name="BadgeValue" Grid.Row="1" Grid.Column="1"/>
        <TextBlock Text="Wyślij powiadomienie dla wskaźnika" Grid.Row="2" Margin="10" VerticalAlignment="Center"/>
        <Button x:ConnectionId='1' Content="Powiadomienie dla wskaźnika"                        Grid.Row="2" Grid.Column="1" Margin="10"/>
        <TextBlock Text="Tekst kafelka:" Grid.Row="3" Margin="10" VerticalAlignment="Center"/>
        <TextBox Text="Test kafelka" Grid.Row="3" Grid.Column="1" Margin="10" x:Name="TitleText"/>
        <TextBlock Text="Treść:" Grid.Row="4" Margin="10" VerticalAlignment="Center"/>
        <TextBox Text="Testowa treść" Grid.Row="4" Grid.Column="1" Margin="10" x:Name="BodyText"/>
        <TextBlock Text="Wyślij..." Grid.Row="5" Margin="10" VerticalAlignment="Center"/>
        <StackPanel Orientation="Horizontal" Grid.Row="5" Grid.Column="1" Margin="10">
            <Button x:ConnectionId='2' Content="Aktualizacja kafelka" Margin="10" x:Name="TileButton"                           />
            <Button x:ConnectionId='3' Content="Powiadomienie" Margin="10" x:Name="NotificationButton"                                   />
        </StackPanel>
    </Grid>
</Page>

