Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Page
- x:Class="Toast_notifications.MainPage"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="using:Toast_notifications"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d">
- <Page.Resources>
- <Style x:Key="PlayEsAppBarButtonStyle" TargetType="ButtonBase"
- BasedOn="{StaticResource AppBarButtonStyle}">
- <Setter Property="AutomationProperties.AutomationId" Value="PlayAppBarButton"/>
- <Setter Property="AutomationProperties.Name" Value="Inmediato"/>
- <Setter Property="Content" Value=""/>
- </Style>
- <Style x:Key="HelpEsAppBarButtonStyle" TargetType="ButtonBase"
- BasedOn="{StaticResource AppBarButtonStyle}">
- <Setter Property="AutomationProperties.AutomationId" Value="HelpAppBarButton"/>
- <Setter Property="AutomationProperties.Name" Value="Ayuda"/>
- <Setter Property="Content" Value=""/>
- </Style>
- <Style x:Key="ClockEsAppBarButtonStyle" TargetType="ButtonBase"
- BasedOn="{StaticResource AppBarButtonStyle}">
- <Setter Property="AutomationProperties.AutomationId" Value="ClockAppBarButton"/>
- <Setter Property="AutomationProperties.Name" Value="Programado"/>
- <Setter Property="Content" Value=""/>
- </Style>
- </Page.Resources>
- <Page.BottomAppBar>
- <AppBar x:Name="bottomAppBar1" Padding="10,0,10,0">
- <Grid>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
- <Button Style="{StaticResource PlayEsAppBarButtonStyle}"
- Click="ButtonPlay_Click" />
- <Button Style="{StaticResource ClockEsAppBarButtonStyle}"
- Click="ButtonClock_Click" />
- </StackPanel>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
- <Button Style="{StaticResource HelpEsAppBarButtonStyle}"
- Click="ButtonHelp_Click" />
- </StackPanel>
- </Grid>
- </AppBar>
- </Page.BottomAppBar>
- <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
- <Grid.RowDefinitions>
- <RowDefinition Height="80" />
- <RowDefinition />
- </Grid.RowDefinitions>
- <!-- El título de la página -->
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="120"/>
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="Auto"/>
- </Grid.ColumnDefinitions>
- <TextBlock x:Name="pageTitle" Grid.Column="1" Text="Prueba de toast notifications"
- IsHitTestVisible="false"
- Style="{StaticResource PageHeaderTextStyle}" />
- <Image x:Name="imgLogo" Grid.Column="2" Margin="10"
- Source="///Assets/SmallLogo.png" Stretch="Uniform" />
- </Grid>
- </Grid>
- </Page>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement