Shift + F10 hotkey brings up different context menu than mouse right click

Posted by: conner.schacherer on 1 October 2021, 8:43 am EST

  • Posted 1 October 2021, 8:43 am EST - Updated 29 September 2022, 6:05 am EST

    Hi,

    I am using Spread WPF 14 and I need to make sure it is keyboard accessible.

    The issue I am running into is with the context menu. When I use the mouse right click, it brings up the context menu I created for the Spread object. However, when I use Shift + F10, which is the default hotkey to bring up a context menu, I get a different context menu than the one I created. It seems that Shift + F10 brings up the context menu of the EditingElement of the active cell, it shows Cut, Copy, and Paste. I want to get rid of the EditingElement’s context menu so that using Shift + F10 will behave the same as using right click on a mouse and bring up the context menu I created.

    However, I do not know how to get to the EditingElement from the code behind, I do not see anything like Spread.ActiveSheet.EditingElement or Spread.View.EditingElement. Can you tell me how to turn off the EditingElement’s context menu in Spread?

  • Posted 13 October 2021, 8:04 am EST

    Hi,

    Is there any update on this? It is important to our application that the hotkey to bring up the context menu will bring up the correct one we want.

  • Posted 19 October 2021, 5:27 am EST

    Hi,

    I wanted to ask if there was any update on this. We have a blind user who uses a screen reader for our application and they need to be able to open the context menu on our data tables using a keyboard, since they can not use a mouse. I will appreciate any help for this problem.

    Thanks.

  • Posted 20 October 2021, 5:33 pm EST

    Hi,

    Sorry for the late reply. I escalated this issue to development team.

    Will try to update you as soon as possible.

    [Internal tracking Id : SPNET-21240]

    Thanks,

  • Posted 21 October 2021, 4:56 pm EST

    Hi,

    Please check attached sample application.

    Hope, it will solve your issue.

    Thanks,

    SpreadDemo.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels