- Home
- Forum
- Xamarin.Forms
- change how an appointment looks like
change how an appointment looks like
Your requirement of customizing Calendar MonthView in Xamarin.Forms can be achieved by setting Custom view to the month cell using OnMonthCellLoadedEvent or setting CellTemplate of Calendar MonthViewSettings. Based on your requirement, you can customize the calendar UI elements, using the same.
Month Cell customization using properties: https://help.syncfusion.com/xamarin/sfcalendar/display-modes#month-view-customization
Month Cell customization using Custom view: https://help.syncfusion.com/xamarin/sfcalendar/how-to?cs-save-lang=1&cs-lang=csharp#create-your-own-custom-calendar-month-cell-view
Subburaj Pandian V
Hi Jens,
You can add or remove the highlight of certain cells by refreshing the calendar by using Refresh method. By calling the refresh method, each month cell UI will be updated and by using MonthCellLoaded event you can customize the specific set of dates. Kindly refer the below code snippet.
|
private bool isToggled = false; |
Sample link: GettingStartedCalendar
We hope this helps to achieve your requirement. Please
let us know, if you would require any further assistance.
Regards,
Ganeshamoorthy C
- 5 Replies
- 4 Participants
-
JD jens de rijcke
- Aug 8, 2019 09:53 AM UTC
- Aug 14, 2019 11:34 AM UTC