创建自定义完整大小的日历控件 [英] Create a custom Full sized Calendar Control
问题描述
如何制作自定义控件,在更大的视图中显示日历控件。像这个,或者像outlook 2007中的日历视图。我必须创建一个自定义类或者我只是试图调整日历的大小。我在WPF中这样做,所以我使用WPF工具包
How can I make a custom control that show the calendar control in a much larger view. Like this or like the calendar view in outlook 2007. Do I have to make a custom class or can I just attempt to resize the calendar. I am doing this in WPF so I use WPF Toolkit
推荐答案
你可能需要一个自定义类WPF控件作为选择器,而不是时间线上的数据的显示器。也就是说,你可以尝试扩展,并重新考虑calandar控件,以允许以你想要的形式显示数据。
You probably need a custom class -- the control in WPF is designed to be a picker, not a displayer of data on a timeline. That stated, you could try extending, and retemplating the calandar control to allow display of data in the form you want.
如果你只是寻找一个巨大的,可舔的日期picker,那么你可以使用比例因子变换,使其更大,更可舔。
if you are just looking for a huge, lickable date picker, then you could just use a scale factor transform to make it bigger, and more lickable.
这篇关于创建自定义完整大小的日历控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!