首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >SFScheduler约会字体大小

SFScheduler约会字体大小
EN

Stack Overflow用户
提问于 2017-05-22 09:36:03
回答 1查看 152关注 0票数 1

我正在使用iOS和C#的SfSchedule,但我找不到如何更改约会字体大小。

这肯定是一种简单的东西,但在尝试了所有的搜索之后,我仍然不知道该怎么做。

EN

回答 1

Stack Overflow用户

发布于 2017-05-23 19:54:27

我们可以使用SFSchedule的AppointmentStyle属性或SFSchedule中的AppointmentLoaded事件来自定义日程安排。

我们可以通过AppointmentStyle属性的TextStyle设置来更改日程安排约会的字体大小。请在下面的代码示例中找到上面相同的代码。

通过AppointmentLoaded事件进行自定义,

代码语言:javascript
复制
void Schedule_AppointmentLoaded(object sender, AppointmentLoadedEventArgs e)
{
    e.AppointmentStyle.TextStyle = UIFont.SystemFontOfSize(20);
} 

通过AppointmentStyle属性进行自定义,

代码语言:javascript
复制
SFAppointmentStyle appointmentstyle = new SFAppointmentStyle();
appointmentstyle.TextStyle = UIFont.SystemFontOfSize(20);
schedule.AppointmentStyle = appointmentstyle;
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44103452

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档