Change color of today's date circle in weekly mode.

How can I change the color of today's date circle in weekly view, I've seen examples in monthly mode, but I can't do it in weekly view.
I would also like to be able to change the color of the quote.

Thank you.

1 Reply

VM Vidyalakshmi Mani Syncfusion Team June 30, 2023 01:16 PM UTC

Hi Juan,

You can achieve your requirement by setting the TodayTextColor and TodayBorderColor properties of MonthViewSettings in Xamarin. Forms SfCalendar control to customize the today’s date circle in week view.

Code Snippet:

<calendar:SfCalendar  x:Name="calendar" ViewMode="MonthView" NumberOfWeeksInView="2">

   <calendar:SfCalendar.MonthViewSettings>

       <calendar:MonthViewSettings TodayTextColor="Green" TodayBorderColor="Red">      

       </calendar:MonthViewSettings>

   </calendar:SfCalendar.MonthViewSettings

</calendar:SfCalendar>

 

Please refer to our Ug document for more details about customization.

https://help.syncfusion.com/xamarin/calendar/display-modes#today-border-color-customization

We hope that this helps you. Please let us know if you need further assistance.


Loader.
Up arrow icon