问题
I would know how to add an Action button but did not manage to identify how to add this under the Actions menu. It is being added as a separate link button and not as part of the actions sub-menu. How can you achieve this please?
回答1:
This post should help with your answer: Adding Custom Action to "Actions" Drop Down in Extension
You can add it by using AddMenuAction
on your parent button (action
in this example):
MyGraph.action.AddMenuAction(myCustomAction);
来源:https://stackoverflow.com/questions/44768465/add-custom-action-as-part-of-the-action-dropdown-aef