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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hide context Menu for SfSchedule

Thread ID:

Created:

Updated:

Platform:

Replies:

149027 Nov 12,2019 10:46 AM UTC Nov 13,2019 12:26 PM UTC WinRT 1
loading
Tags: SfSchedule
Aboo Saahir Surroop
Asked On November 12, 2019 10:46 AM UTC

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

Kanniyappan Panneer Selvam [Syncfusion]
Replied On 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 
 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon