Hello,
I want to highlight some date in the dropdown calendar. I wish to display my "important" days with a different background color such as red.
Is it possible natively ? If not do I have the possibility to do this by modifying the default template ?
Thks !
The xamDateTimeEditor contains a xamMonthCalendar in a popup within its template so you would style that as you would style days in the xamMonthCalendar. You can either create your own Style for CalendarDay and try to bind the Background property to the StartDate and use a custom Converter in your binding or you create a style for xamMonthCalendar and set the CalendarDayStyleSelector to your own custom StyleSelector and based on the StartDate of the CalendarDay provided as the container you would conditionally return a different Style based on whether the day is "important" or not.
Any chance to do this ?