我正在使用iOS和C#的SfSchedule,但我找不到如何更改约会字体大小。
这肯定是一种简单的东西,但在尝试了所有的搜索之后,我仍然不知道该怎么做。
发布于 2017-05-23 19:54:27
我们可以使用SFSchedule的AppointmentStyle属性或SFSchedule中的AppointmentLoaded事件来自定义日程安排。
我们可以通过AppointmentStyle属性的TextStyle设置来更改日程安排约会的字体大小。请在下面的代码示例中找到上面相同的代码。
通过AppointmentLoaded事件进行自定义,
void Schedule_AppointmentLoaded(object sender, AppointmentLoadedEventArgs e)
{
e.AppointmentStyle.TextStyle = UIFont.SystemFontOfSize(20);
} 通过AppointmentStyle属性进行自定义,
SFAppointmentStyle appointmentstyle = new SFAppointmentStyle();
appointmentstyle.TextStyle = UIFont.SystemFontOfSize(20);
schedule.AppointmentStyle = appointmentstyle;https://stackoverflow.com/questions/44103452
复制相似问题