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.
Unfortunately, activation email could not send to your email. Please try again.

Showing all day events in month view?

Thread ID:

Created:

Updated:

Platform:

Replies:

123190 Feb 24,2016 03:02 PM Feb 29,2016 04:10 AM Xamarin.Forms 3
loading
Tags: SfSchedule
Austin Mayberry
Asked On February 24, 2016 03:02 PM

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

Subburaj Pandian Veluchamy [Syncfusion]
Replied On February 25, 2016 05:07 AM

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


Austin Mayberry
Replied On February 27, 2016 02:06 PM

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.



Nijamudeen Mohamed Sulaiman [Syncfusion]
Replied On February 29, 2016 04:10 AM

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.


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.

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.

;