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

Hide context Menu for SfSchedule

Hello, 

I do not  want to show any context menu for appointment in sfschedule. In attachment, you will see highlighted in yellow the component that i do not want to appear at all.
Is there a solution to do that ?

For info, due to some project requirements, i am creating sfschedule from code behind and not directly in the xaml.

Thank you in advance for your support
Regards, 
Aboo Saahir Surroop

Attachment: SfScheduleContextMenu_a9d5944a.zip

1 Reply

KP Kanniyappan Panneer Selvam Syncfusion Team November 13, 2019 12:26 PM UTC

Hi Aboo Saahir, 
  
Thanks for contacting Syncfusion support. 
 
We checked your query Hide the custom context radial menu in SfSchedule and can be achieved your requirement by cancelling the ContextMenuOpening event of SfSchedule. Based on your requirement, we have prepared a simple sample and please find the code snippet and sample for the same. 
 
Code Snippet: 
 
private void Schedule_ContextMenuOpening(object sender, ContextMenuOpeningEventArgs e) 
 { 
    e.Cancel = true; 
 } 
 
  
Please try the above solution and let us know if it is helpful. 
 
Regards, 
Kanniyappan P 
 


Loader.
Up arrow icon