How to increase the font size of the date that is selected on a CalendarDatePicker

前端 未结 2 1205
感动是毒
感动是毒 2021-01-17 00:27

I have a CalendarDatePicker control on my UWP app. I am not able to increase the size of the font of the date that is selected using the FontSize a

2条回答
  •  执念已碎
    2021-01-17 00:36

    You can use the Visual Tree Extensions from the UWP Community Toolkit to grab the textbox control by name or type and modify its FontSize property:

     
    

    -

     Calender.FindDescendantByName("DateText").FontSize = 30;
    

提交回复
热议问题