Ticket T279578
Visible to All Users
Duplicate

Scheduler DefaultMenuCustomizations

created 10 years ago

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.

Comments (3)
DevExpress Support Team 10 years ago

    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.

      DevExpress Support Team 10 years ago

        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.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.