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

The classic context menu

Thread ID:

Created:

Updated:

Platform:

Replies:

141155 Nov 27,2018 12:58 PM UTC Nov 28,2018 07:03 AM UTC UWP 1
loading
Tags: SfSchedule
Jaroslaw Bazarko
Asked On November 27, 2018 12:58 PM UTC

Hello!
How can you set a classic context menu instead of RadialMenu?
I have long texts that I can use only in the context menu, eg. Show Patient Card, Show Visit Card, etc.
Regards
Jarek

Vigneshkumar Ramasamy [Syncfusion]
Replied On November 28, 2018 07:03 AM UTC

Hi Jaroslaw Bazarko 
 
Thanks for contacting Syncfusion support. 
 
We have checked your query and your requirement can be achieved by using custom context menu in the schedule control. You can create your own context menu by setting e.Cancel to true in the ContextMenuOpening event. It will avoid opening the default context menu. Please find the below UG link for the same. 
 
 
Also, operations that are done by default context menu can also be performed using Schedule commands. Please find the below UG link for more details about commands. 
 
 
 
       void pasteButton_Click(object sender, RoutedEventArgs e) 
        { 
            RadialPopup.IsOpen = false; 
            ScheduleCommands.PasteCommand.Execute(this.schedule); 
 
        } 
 
        void copyButton_Click(object sender, RoutedEventArgs e) 
        { 
            RadialPopup.IsOpen = false; 
            ScheduleCommands.CopyCommand.Execute(this.schedule); 
            copiedAppointment = schedule.SelectedAppointment; 
        } 
 
        void deleteButton_Click(object sender, RoutedEventArgs e) 
        { 
            RadialPopup.IsOpen = false; 
            ScheduleCommands.DeleteCommand.Execute(this.schedule); 
        } 
 
        void editButton_Click(object sender, RoutedEventArgs e) 
        { 
            RadialPopup.IsOpen = false; 
            ScheduleCommands.EditCommand.Execute(this.schedule); 
        } 
 
        void addButton_Click(object sender, RoutedEventArgs e) 
        { 
            RadialPopup.IsOpen = false; 
            ScheduleCommands.AddNewCommand.Execute(this.schedule); 
        } 
 
 
 
We have prepared a sample with custom context menu and please find the same from below link. You can modify your ouwn context menu. 
 
Sample Link: ScheduleUWP
 
 
Please let us know if this helpful. 
 
Regards 
Vigenshkumar R 


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