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

Showing all day events in month view?

Is there a way to view all day events in month view?  I am not seeing them there.

3 Replies

SP Subburaj Pandian Veluchamy Syncfusion Team February 25, 2016 10:07 AM UTC

Hi Austin,


Thank you for your interest in Syncfusion products.


Based on the provided information, we suspect that your requirement is to display allday event in MonthView which can be achieved by setting “IsAllDay” property of Schedule Appointment in SfSchedule Xamarin. Please refer the below code snippet.


[C#] 

       scheduleAppointment.Subject = "Genral Meeting";

scheduleAppointment.Location = "India";

              scheduleAppointment.StartTime = starttime;

              scheduleAppointment.EndTime = endtime;

              scheduleAppointment.IsAllDay = true;

           

              scheduleAppointmentCollection.Add(scheduleAppointment);

              schedule.DataSource = scheduleAppointmentCollection;

           

              schedule.ScheduleView = ScheduleView.MonthView;



If provided code snippet doesn’t match with your expectation kindly provide us more information about your requirement with screen shots (illustrative images if Possible), so that we could analyze on it and provide you better solution.

Please let us know. If you have any query.


Regards,

Subburaj Pandian V



AM Austin Mayberry February 27, 2016 07:06 PM UTC

Your example does not work to show all day appointments in month view.

1) I do not understand why you need to specify a start and end time for an all day appointment

2) In Day, Week, and WorkWeek views you have to set the following setting to display all day appointments:

DayViewSettings.ShowAllDay = true;
WeekViewSettings.ShowAllDay = true;
WorkWeekViewSettings.ShowAllDay = true;

 ShowAllDay is not available as an option on MonthWeekViewSettings 

Your example does not display an All Day appointment in Month View.  Did you test it?  I did.  It simply displays the appointment as if the flag was not set.  It shows it using the start time and end time properties.  I would expect it to show it at the top of the date.




NM Nijamudeen Mohamed Sulaiman Syncfusion Team February 29, 2016 09:10 AM UTC

Hi Austin,


Based on the implementation, we have AllDay panel support only in Day, Week and WorkWeek views. As of now we don’t have any support to uniquely display AllDay appointment in MonthView as like in Day, Week and WorkWeek views. AllDay appointment will be rendered as like normal appointment in Month view.

Since this feature isn’t available in our product, we consider this to be a feature request. It will help us to implement the feature in line with your requirement, if you can provide more details regarding the requirement (Screenshots if possible).

Please let us know, if you have any query.

Regards,
Nijamudeen M.


Loader.
Up arrow icon