The ContextMenu control is also in charge of adding an oncontextmenu handler to each control or page element that registers to get one. I defined two ways for an element to get its own context menu.
快捷菜单也负责为每个控件或为注册快捷菜单的页面元素添加oncontextmenu事件处理器。
When a user selects a menu item from a designer context menu, the custom handler is called to execute the verb associated with the menu item.
当用户从设计器上下文菜单中选择菜单项时,系统将调用该自定义处理程序,以执行与该菜单项关联的谓词。
When a user selects a menu item from a designer context menu, the custom handler is called to execute the verb associated with the menu item.
当用户从设计器上下文菜单中选择菜单项时,系统将调用该自定义处理程序,以执行与该菜单项关联的谓词。
应用推荐