<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE in the project root for license information. -->
<local:TestPage
    x:Class="MUXControlsTestApp.CalendarViewPage"
    x:Name="CalendarViewTestPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:MUXControlsTestApp"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:controls="http://schemas.modernwpf.com/2019"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <StackPanel
        Background="{DynamicResource ApplicationPageBackgroundThemeBrush}"
        Margin="12"
        Orientation="Horizontal">
        <Calendar
            x:Name="PageCalendar"
            SelectionMode="SingleDate"
            VerticalAlignment="Top" />

        <Border
            Margin="20,0,0,0"
            VerticalAlignment="Top"
            Padding="8"
            BorderThickness="1"
            BorderBrush="{DynamicResource SystemControlDisabledChromeDisabledLowBrush}">
            <StackPanel>
                <TextBlock
                    Text="Options"
                    Style="{DynamicResource StandardGroupHeader}" />
                <ComboBox
                    x:Name="selectionMode"
                    Margin="0,10,0,0"
                    controls:ControlHelper.Header="SelectionMode"
                    SelectedItem="{Binding ElementName=PageCalendar, Path=SelectionMode}">
                    <CalendarSelectionMode>SingleDate</CalendarSelectionMode>
                    <CalendarSelectionMode>SingleRange</CalendarSelectionMode>
                    <CalendarSelectionMode>MultipleRange</CalendarSelectionMode>
                    <CalendarSelectionMode>None</CalendarSelectionMode>
                </ComboBox>
            </StackPanel>
        </Border>
    </StackPanel>
</local:TestPage>
