We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Customization of SfCalendar.Android

Hi,


This is regarding Syncfusion Calendar for Xamarin.Android.
We require to display only current month dates.
We require a custom view displaying events in each MonthCell as shown in the attachment below.
can we use MonthViewSetting property even after customization?

Can you please send me code snippet for above requirement by tomorrow since i have strict deadlines?
Please find below attachments for my requirements.



Attachment: Calendar_44e97f83.rar

3 Replies

RK Rathana Kumar Sekar Syncfusion Team October 6, 2017 11:19 AM UTC

Hi Rohan,  

Thanks for contacting Syncfusion Support.  

Query 1: We require a custom view displaying events in each monthcell as shown in the attachment.
Query2: Disable the swiping behavior of SfCalendar

We have prepared the sample in which we have implemented the custom view for SfCalendar monthcell using DrawMonthCell event and we have also disabled the swiping behavior of SfCalendar by setting the "NavigationEnable" property to false. Please find the sample from the below link.

Query 3: Can we use MonthViewSettings class properties even after customization? 

After applying the custom view for SfCalendar monthcell, MonthviewSetting class properties will not work. (Except BorderColor property).

Sample: http://www.syncfusion.com/downloads/support/forum/133045/ze/CustomSfCalendarAndroid1502447217 

Regards,
Rathanakumar S. 



LO Long replied to Rathana Kumar Sekar July 16, 2018 08:02 AM UTC

Hi Rohan,  

Thanks for contacting Syncfusion Support.  

Query 1: We require a custom view displaying events in each monthcell as shown in the attachment.
Query2: Disable the swiping behavior of SfCalendar

We have prepared the sample in which we have implemented the custom view for SfCalendar monthcell using DrawMonthCell event and we have also disabled the swiping behavior of SfCalendar by setting the "NavigationEnable" property to false. Please find the sample from the below link.

Query 3: Can we use MonthViewSettings class properties even after customization? 

After applying the custom view for SfCalendar monthcell, MonthviewSetting class properties will not work. (Except BorderColor property).

Sample: http://www.syncfusion.com/downloads/support/forum/133045/ze/CustomSfCalendarAndroid1502447217 

Regards,
Rathanakumar S. 


> Query 1: We require a custom view displaying events in each monthcell as shown in the attachment. 
Can we do that in Xamarin.Form instead of Xamarin.Android ?


VR Vigneshkumar Ramasamy Syncfusion Team July 17, 2018 07:04 AM UTC

Hi Long,

As per your provided information, we have prepared the sample in which we have implemented the custom view for SfCalendar monthcell using OnMonthCellLoaded event in Xamarin.Forms. Please find the Sample from the below link.

Sample: http://www.syncfusion.com/downloads/support/forum/133045/ze/CustomCalendar-1500980768.zip 

Please let us know if you have any concern.

Regards,
Muniappan Subramanian.  


Loader.
Live Chat Icon For mobile
Up arrow icon