WPF中增加Month Calendar月历控件

XAML代码:
(这里使用了codeproject.com网站上的一个Dll,你可以在这里下载它:http://www.codeproject.com/cs/miscctrl/MonthCalendar.asp

<Window x:Class="MonthCalendarDemo"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:wfi="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
    xmlns:monthControl="clr-namespace:Pabo.Calendar;assembly=MonthCalendar"
    Title="Month Calendar Demo" Height="500" Width="500">
    <Grid>
        <wfi:WindowsFormsHost>
            <monthControl:MonthCalendar />
        </wfi:WindowsFormsHost>
    </Grid>
</Window>

在网上也有如下的资源:

终于找到了一个WPF中的日历控件
共享代码:WPF的日历控件

原文地址:https://www.cnblogs.com/dinotang/p/3272240.html