是否有免费的类库为 WPF 提供 MonthCalendar 控件?如果不比 Winforms MonthCalendar 更好,MonthCalendar 是否等于。
问问题
2137 次
2 回答
3
我认为 VS 2010 中包含一个,但在 VS 2008 中肯定没有内置一个。
您可以使用WPF 工具包,它有一个很好的月历控件,应该可以满足您的需求。
于 2010-01-18T01:55:31.120 回答
0
下载 WPF 工具包...它包括日历、DatePicker 和 DataGrid。将工具包 dll 添加到项目后,您可以像这样实现日历:
<Window x:Class="WPF_Playground.Window4"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:toolkit="http://schemas.microsoft.com/wpf/2008/toolkit" >
<Grid>
<toolkit:Calendar/>
</Grid>
</Window>
于 2010-01-18T02:16:21.917 回答