本文介绍了[UWP]约会AllDay财产不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我设置了appointment.AllDay = true并按照API参考中的描述将StartTime设置为00:00:00:
"使用创建约会时AllDay 设置为true,您应该设置
StartTime 到午夜(00:00:00)。"
使用AppointmentManager添加约会后我转到日历应用程序查看约会。 未检查全天酒店。 我已经验证了使用UWP示例应用程序创建全天约会时发生同样的事情。
解决方案
I set appointment.AllDay = true and setting StartTime to 00:00:00 as described in the API reference:
"When creating an appointment with AllDay set to true, you should set theStartTime of the appointment to midnight (00:00:00)."
After adding the appointment using AppointmentManager I then go to the Calendar app to view the appointment. The All day property is not checked. I've verified the same thing occurs when creating an All day appointment using the UWP sample app.
解决方案
这篇关于[UWP]约会AllDay财产不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!