Overriding drag-and-drop right click menu with Fluent UI in PowerPoint RRS feed

  • Question

  • Hi,

    I want to override Move and Copy slide from context menu that appears when you hold right click while moving a slide in PPT:

        <contextMenu idMso="ContextMenuRightDragDrop">
          <button idMso="Copy" onAction="MyCopy"></button>

    However, this only creates another button in the context menu, it doesn't override the existing one.

    Even if I do: 

        <contextMenu idMso="ContextMenuRightDragDrop">
          <button idMso="Copy" visible="false"></button>

    Nothing happens, the Copy button is still visible.

    Is there any way to accomplish this? 

    Sunday, September 1, 2019 3:20 PM