I have a problem with removing some menu actions from right click on scheduler control.
XAML<dxsch:SchedulerControl x:Name="SchedulerControl" BarManager="{Binding ElementName=BarManager}">
<dxsch:SchedulerControl.DefaultMenuCustomizations>
<dxb:RemoveBarItemAndLinkAction ItemName="{x:Static dxsch:SchedulerMenuItemName.NewRecurringAppointment}" />
<dxb:RemoveBarItemAndLinkAction ItemName="{x:Static dxsch:SchedulerMenuItemName.NewRecurringEvent}" />
<dxb:RemoveBarItemAndLinkAction ItemName="{x:Static dxsch:SchedulerMenuItemName.GotoThisDay}" />
<dxb:RemoveBarItemAndLinkAction ItemName="{x:Static dxsch:SchedulerMenuItemName.SwitchToDayView}" />
<dxb:RemoveBarItemAndLinkAction ItemName="{x:Static dxsch:SchedulerMenuItemName.SwitchToWeekView}" />
<dxb:RemoveBarItemAndLinkAction ItemName="{x:Static dxsch:SchedulerMenuItemName.SwitchToTimelineView}" />
<dxb:RemoveBarItemAndLinkAction ItemName="{x:Static dxsch:SchedulerMenuItemName.SwitchToFullWeekView}" />
</dxsch:SchedulerControl.DefaultMenuCustomizations>
</dxsch:SchedulerControl>
The problem is that SwitchTo -Day,Week,etc aren't removed, while NewRecurring Appointment, Event, and GoToThisDay are removed.
I've tried a new test project, and found out that this actually works, but why doesn't work in my project? I can't find the reason why this happens.
Hello Marian,
All my attempts to reproduce the issue you described were unsuccessful. I have recorded a video (see the attachment). Please check to see if I possibly missed some important steps to reproduce the issue. If so, describe these steps in more detail and specify which exact version of our controls you are using.
I am looking forward to your response.
I managed to make a small project to reproduce the issue, see in attachments.
I have reproduced the issue and created a separate ticket to research it: T280091: Hidden sub menu items are shown in the scheduler's context menu if SchedulerControl is located in a non-main window. I've passed that ticket to my team. Our developers will research this issue in detail. We will get back to you once we have any results.