如何禁用某些菜单,如剪切、粘贴、在AxOWC11.AxSpreadsheet
右键菜单中插入新行/列,我正在使用下面的代码,但没有从中得到正确的解决方案
void spreadSheet_BeforeContextMenu(object sender,
AxOWC11.ISpreadsheetEventSink_BeforeContextMenuEvent e)
{
//Here i am getting all the menu items but not able to disable it....
//e.menu
}