Templates
The DateTimePicker provides options for using and customizing its templates.
To customize the cell template in the Month view, use the MonthTemplate
property. The calendar of the DateTimePicker loops over each cell and sets its HTML by using the month template. You can implement a dynamic template by using the BindTo
option which is passed as an argument to the MonthTemplate.Content
template. For the complete example, refer to the demo on customizing the templates of the DateTimePicker.
To modify the footer template of the DatePicker calendar, use the Footer
property.
For more information on customizing the aria-label
text, refer to the article on accessibility.