<Page
    x:Class="AppStudio.Views.TELEFONOSDEEMERGENCIA1Detail"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:AppStudio.Views"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:vm="using:AppStudio.ViewModels"
    mc:Ignorable="d">

    <Grid Background="{StaticResource AppBackground}"
          DataContext="{Binding TELEFONOSDEEMERGENCIA1Model}"
          d:DataContext="{d:DesignData Source=/Assets/Data/TELEFONOSDEEMERGENCIA1DataSource.json, Type=vm:TELEFONOSDEEMERGENCIA1ViewModel, IsDesignTimeCreatable=true}">

        <Grid.ChildrenTransitions>
            <TransitionCollection>
                <EntranceThemeTransition/>
            </TransitionCollection>
        </Grid.ChildrenTransitions>

        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <FlipView x:Name="Flip" Grid.Row="0" AutomationProperties.AutomationId="ItemsFlipView" AutomationProperties.Name="Item Details" TabIndex="1"
                  ItemsSource="{Binding Items}"
                  ItemTemplate="{StaticResource TELEFONOSDEEMERGENCIA2DetailDetail}"
                  SelectedItem="{Binding SelectedItem, Mode=TwoWay}"/>

    </Grid>

    <Page.BottomAppBar>
        <CommandBar ClosedDisplayMode="Minimal" Background="{StaticResource AppBarBackground}" Foreground="{StaticResource AppBarForeground}">
            <AppBarButton x:Uid="TextToSpeechButton" Icon="Volume" DataContext="{Binding TELEFONOSDEEMERGENCIA1Model}" Command="{Binding TextToSpeechCommand}" Visibility="{Binding TextToSpeechVisibility}"/>
            <AppBarButton x:Uid="RefreshButton" Icon="Refresh" DataContext="{Binding TELEFONOSDEEMERGENCIA1Model}" Command="{Binding RefreshCommand}" Visibility="{Binding RefreshVisibility}"/>
            <AppBarButton x:Uid="GoToSourceButton" Icon="Globe" DataContext="{Binding TELEFONOSDEEMERGENCIA1Model}" Command="{Binding GoToSourceCommand}" Visibility="{Binding GoToSourceVisibility}"/>
            <CommandBar.SecondaryCommands>
                <AppBarButton x:Uid="ShareItemButton" DataContext="{Binding TELEFONOSDEEMERGENCIA1Model}" Command="{Binding ShareItemCommand}" Visibility="{Binding ShareItemVisibility}"/>
                <AppBarButton x:Uid="SmallTextButton" DataContext="{Binding TELEFONOSDEEMERGENCIA1Model}" Command="{Binding ChangeFontSizeCommand}" CommandParameter="Small"/>
                <AppBarButton x:Uid="NormalTextButton" DataContext="{Binding TELEFONOSDEEMERGENCIA1Model}" Command="{Binding ChangeFontSizeCommand}" CommandParameter="Normal"/>
                <AppBarButton x:Uid="BigTextButton" DataContext="{Binding TELEFONOSDEEMERGENCIA1Model}" Command="{Binding ChangeFontSizeCommand}" CommandParameter="Big"/>
            </CommandBar.SecondaryCommands>
        </CommandBar>
    </Page.BottomAppBar>
</Page>
