contextmenu

  • 网络右键菜单;环境菜单
contextmenucontextmenu
  1. That is the effect of a custom designer for the ContextMenu control .

    这是通过快捷菜单控件的自定义设计器来实现的。

  2. The ContextMenu control as developed here requires absolute positioning that not all browsers support .

    这里开发的快捷菜单控件需要绝对位置功能。而这一功能并不是所有的浏览器都支持的。

  3. This fact creates a logical dependency between the ContextMenu control and the page .

    这样实际上就是在ContextMenu快捷菜单控件和页面之间创建了一个逻辑信赖。

  4. ContextMenu control has been reworked : performance improvements and visual consistency fixes .

    ContextMenu控件已经重写:改善了性能和修正了可视化一致性的问题。

  5. As mentioned , the user interface of the ContextMenu control is divided into two parts & graphics and script .

    我们说过,ContexMenu控件的用户界面分为两部分&图形和脚本。

  6. While implementing this ContextMenu control , I first used the aforementioned technique and created and displayed a popup window .

    当实现快捷菜单控件的时候,我首先选择了上述的创建并显示一个弹出窗口。

  7. Then you could go to the Properties window , select the property , and see the list of ContextMenu controls on the page .

    然后在属性窗口中选择这个属性时,将看到在页面中的ContextMenu控件的列表。

  8. Here I 'll also give the ContextMenu control the ability to hide when the user moves the mouse outside the control 's UI .

    我还可以让菜单在用户鼠标移开菜单时隐藏。

  9. But first let me spend a minute on the applicability of a design-time binding mechanism between the ContextMenu control and any page elements that will display the menu .

    慢着,让我们先来想一下ContexMenu控件和页中任意的显示快捷菜单的元素的绑定机制,这种机制对设计时的支持怎么样?

  10. The code in the host page that receives an ItemCommand event is passed the instance of the ContextMenu which fired the event and the command name associated with the clicked item .

    页面上的代码将获得两部分内容:引发事件的ContextMenu实例;与点击项相关的commandname。

  11. 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事件处理器。