<Window x:Class="WPF控件_17_日期控件.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
        Icon="public/003540AH4M72.jpg" Title="MainWindow" Height="450" Width="800">
    <ScrollViewer>
        <StackPanel>
            <Label>Calendar</Label>
            <Calendar />

            <Label>DatePicker</Label>
            <DatePicker />

            <Label>Calendar - Decade</Label>
            <Calendar DisplayMode="Decade" />

            <Label>Calendar - Decade</Label>
            <Calendar DisplayMode="Month" />

            <Label>Calendar - Year</Label>
            <Calendar DisplayMode="Year" />
        </StackPanel>
    </ScrollViewer>
</Window>