<Page
    x:Class="ScheduleSamples.Samples.SaveLocalData"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:ScheduleSamples.Samples"
    xmlns:c1="using:C1.Xaml.Schedule"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <Page.BottomAppBar>
        <CommandBar Padding="10,0" Background="#FF552ED6" RequestedTheme="Dark" >
            <AppBarButton Icon="Add" Label="New" Click="Add_Click"/>
        </CommandBar>
    </Page.BottomAppBar>

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <c1:C1Scheduler x:Name="sched1" />
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Top" >
            <StackPanel.Resources>
                <Style TargetType="Button" x:Key="btnStyle">
                    <Setter Property="VerticalAlignment" Value="Stretch"/>
                    <Setter Property="Background" Value="Transparent"/>
                </Style>
            </StackPanel.Resources>
            <Button Click="DayClick" Style="{StaticResource btnStyle}" 
                    Content="&#xe161;" FontFamily="Segoe UI Symbol" FontSize="22" 
                    ToolTipService.ToolTip="Day" ToolTipService.Placement="Top"/>
            <Button Click="WorkWeekClick" Style="{StaticResource btnStyle}"
                    Content="&#xe162;" FontFamily="Segoe UI Symbol" FontSize="22"
                    ToolTipService.ToolTip="Work Week" ToolTipService.Placement="Top"/>
            <Button Click="WeekClick" Style="{StaticResource btnStyle}"
                    Content="&#xe162;" FontFamily="Segoe UI Symbol" FontSize="22"
                    ToolTipService.ToolTip="Week" ToolTipService.Placement="Top"/>
            <Button Click="MonthClick" Style="{StaticResource btnStyle}"
                    Content="&#xe163;" FontFamily="Segoe UI Symbol" FontSize="22"
                    ToolTipService.ToolTip="Month" ToolTipService.Placement="Top"/>
        </StackPanel>
    </Grid>
</Page>
