我尝试使用Wpf的日历 [英] I am try to use calender from Wpf
问题描述
如果您想要拍照,可以看到所选日期和 我想写的文字可以帮助我吗?
<请给我 例如我想要的图片 选择日期并显示文字...你能帮帮我吗?
你真的不能使用Calendar控件来解决你的问题&NBSP;日历控件不允许为每个项目设置模板。 如果您只是添加一个日历控件,右键单击它并选择编辑模板/编辑副本,您将看到您有权访问的
,并不多。
对于所有更改为您显示的日历需要使用您显示的所有元素创建自己的用户控件。
If you are looking to picture you can see selected date and writing text I want to do like that can you help me?
I give picture for example I want to select date and show text... Can you help me guys?
You really cannot use the Calendar control for what you are asking. The calendar control does not allow templating for each item. If you simply add a calendar control , right click it and select Edit Template / Edit a copy, you will see what you have access to, not much.
For all the changes to the calendar that you show you will need to create your own usercontrol with all the elements you show.
这篇关于我尝试使用Wpf的日历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!