<Page
    x:Class="C1Calendar_Demo.Samples.BoldedDayTemplate"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:C1Calendar_Demo.Samples"
    xmlns:calendar="using:C1.Xaml.Calendar"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <calendar:C1Calendar x:Name="cal1" ShowWeekNumbers="True" MaxSelectionCount="14" >
            <calendar:C1Calendar.BoldedDaySlotTemplate>
                <DataTemplate>
                    <Border Background="#FF92A700" CornerRadius="4" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Margin="3">
                        <TextBlock Text="{Binding}" FontSize="24" Foreground="White" FontWeight="Black" VerticalAlignment="Center" HorizontalAlignment="Center" />
                    </Border>
                </DataTemplate>
            </calendar:C1Calendar.BoldedDaySlotTemplate>
        </calendar:C1Calendar>
    </Grid>
</Page>
