Disable all editions on the SfScheduler control
Hello,
I'd like to make my SfSchedule totally disable except for the vertical scroll bar.
Like you can see on my screenshot, I would like a way to :
1- can't modify the month/day
2- keep the vertical scroll bar
3- disable appointment moves
IsEnabled="False" does the trick but removes the vertical scroll bar...
Contextmenu is disable by a e.Cancel = true and FYI I use a custom appointment template.

Thank you for your help.
Nicolas.
SIGN IN To post a reply.
4 Replies
NM
Nijamudeen Mohamed Sulaiman
Syncfusion Team
February 20, 2017 06:59 AM UTC
Hi Nicolas,
Thanks for your interest in Syncfusion Products.
Query #1: can't modify the month/day
Thanks for your interest in Syncfusion Products.
Query #1: can't modify the month/day
Based on the given information, we suspect that your requirement is to Modify the Header style. As of now we don’t have any direct support for this, but this requirement can be achieved by overriding the default template of Schedule header in WPF. We have prepared a simple sample for the same. Please refer the sample (SfSchedule_WPF).
Query #2 & 3: keep the vertical scroll bar and disable appointment moves
Appointment resizing can be disabled by triggering “AppointmentStartResizing” event in SfSchedule WPF. And the code won’t affect the vertical scroll bar interaction. Please refer the sample below
Sample: SfSchedule_WPF
Sample: SfSchedule_WPF
If the above provided solution does not meet your requirement, could you please provide more details about the requirements with possible screenshot or sample demo which will be helpful for us to analyze further and provide him possible solution.
Regards,
Nijamudeen M.
Regards,
Nijamudeen M.
WN
Wagener Nicolas
February 20, 2017 04:52 PM UTC
Thank you Nijamudeen.
That's what I wanted, didn't see these event when I looked.
I just added this piece of code :
schedule.AppointmentStartDragging += Schedule_AppointmentStartDragging;
private void Schedule_AppointmentStartDragging(object sender, AppointmentStartDraggingEventArgs e)
{
e.Cancel = true;
}
NM
Nijamudeen Mohamed Sulaiman
Syncfusion Team
February 21, 2017 06:02 AM UTC
Hi Nicolas,
SfSchedule “AppointmentStartDragging” event is used to place an appointment from one time slot to another time slot rather "AppointmentStartResizing” event is used to alter the size of an appointment.
We glad to know that you have met your requirement. Please let us know if you require further assistance on this.
Regards,
Nijamudeen M.
SfSchedule “AppointmentStartDragging” event is used to place an appointment from one time slot to another time slot rather "AppointmentStartResizing” event is used to alter the size of an appointment.
We glad to know that you have met your requirement. Please let us know if you require further assistance on this.
Regards,
Nijamudeen M.
SIGN IN To post a reply.
- 4 Replies
- 2 Participants
-
WN Wagener Nicolas
- Feb 18, 2017 09:01 PM UTC
- Feb 21, 2017 06:02 AM UTC