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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Customization of SfCalendar.Android

Thread ID:

Created:

Updated:

Platform:

Replies:

133045 Oct 5,2017 03:15 PM UTC Jul 17,2018 07:04 AM UTC Xamarin.Android 3
loading
Tags: SfCalendar
Rahul
Asked On October 5, 2017 03:15 PM UTC

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

Rathana Kumar Sekar [Syncfusion]
Replied On 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. 


Long
Replied On 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 ?

Vigneshkumar Ramasamy [Syncfusion]
Replied On 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.  


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;