元素还可以使用右键快捷菜单创建。
Elements also can be created using a right-click context menu.
当用户在控件上右击时会弹出快捷菜单。
When the user right-clicks on the control, the context menu pops up.
这时,table就是快捷菜单的用户界面。
The table built so far represents the user interface of the context menu.
快捷菜单仅显示该特定位置的线程。
The shortcut menu shows only the threads at that specific location.
右键单击该文档,然后选择快捷菜单的属性命令。
To do so, right-click on the document and select the Properties command from the shortcut menu.
在指定位置显示快捷菜单。
一个快捷菜单就是在页面中任何位置的一组标记代码。
A context menu is a modular piece of markup code that can move around the page.
可以使用快捷菜单选择查看线程之间的调用。
By using the shortcut menu, you can choose whether to see calls between threads.
在指定的位置使用指定的对齐方式显示快捷菜单。
Displays the shortcut menu at the specified position and with the specified alignment.
快捷菜单界面是页面的一部分,并且属于页面控件树中的一员。
The context menu's UI is part of the page and takes up space in the page's control tree.
描述如何在设计时向组件的快捷菜单添加菜单命令。
Describes how to add menu commands to the shortcut menu for components at design time.
在指定的位置使用指定的对齐方式显示一个快捷菜单。
Displays a shortcut menu at the specified location using the specified alignment.
注意:如果必要你可以使用这种方式完全代替浏览器的快捷菜单。
Note that this way you entirely replace the standard browser's context menu, if any exists.
使用快捷菜单可以选择显示非用户代码的调用堆栈信息。
You can choose to display the call stack information for non-user code by using the shortcut menu.
附加的快捷菜单将替换窗体、控件?或报表的内置快捷菜单。
Once attached, the shortcut menu replaces the built-in shortcut menu for a form, a control?, or a report.
浮动的菜单:用户在单击工具栏按钮时,能够弹出一个快捷菜单。
Floating menu: the user click the toolbar button, be able to pop up a shortcut menu.
“重构”菜单,按键盘快捷方式,或从快捷菜单中选择相应命令。
Refactor menu, press the keyboard shortcut, or select the command from the shortcut menu.
我怎样才能做一个WPF快捷菜单自动选择第一项的时候开的呢?
How can I make a WPF ContextMenu automatically select the first item when it's opened?
其中某些命令还可以从“对象”和“成员”窗格的快捷菜单中获得。
Some of these commands are also available from shortcut menus in the Object and Members panes.
下表描述了在树视图窗格中右击某个节点时,可以使用的快捷菜单选项。
The following table describes several shortcut menu options that are available when you right-click a node in the tree view pane.
当实现快捷菜单控件的时候,我首先选择了上述的创建并显示一个弹出窗口。
While implementing this ContextMenu control, I first used the aforementioned technique and created and displayed a popup window.
这种方法要求任何使用自定义快捷菜单的元素必须是服务器控件,有时这种要求是不合适的。
This approach requires that any page element with a context menu be a server control, a requirement that may or may not be acceptable.
使用二进制编辑器时,很多情况下可以通过右击来显示资源特定命令的快捷菜单。
While using the Binary editor, in many instances, you can right-click to display a shortcut menu of resource-specific commands.
新添加到用例快捷菜单中的第二项是“RequirementsProperties”。
The second new addition to the use-case shortcut menu is "Requirements Properties."
这里开发的快捷菜单控件需要绝对位置功能。而这一功能并不是所有的浏览器都支持的。
The ContextMenu control as developed here requires absolute positioning that not all browsers support.
NET回传是一个小技巧,在当前页面中使用绝对位置来维持快捷菜单不会改变页面的元素结点树。
An ASP.NET postback is a little trickier; using absolute positioning maintains the context menu in the realm of the current page and doesn't apply changes to the page's elements tree.
这样实际上就是在ContextMenu快捷菜单控件和页面之间创建了一个逻辑信赖。
This fact creates a logical dependency between the ContextMenu control and the page.
现在,当你右键点击一个文件时,你就会在快捷菜单的最下面的“服务”看到这个选项了。
Now, when you right-click on a file, you'll see the option you desire at the bottom of the contextual menu.
NET控件也不设计成具有快捷菜单,所以要绑定快捷菜单只能通过快捷菜单控件自身的执行。
ASP.NET controls are not designed to have a context menu, so you can bind them to a custom context menu only through the implementation of the ContextMenu control itself.
右击某个成员,然后从快捷菜单中选择相应命令,可以对“成员”窗格中显示的成员进行排序。
You can sort the members that appear in the Members pane by right-clicking on a member and selecting an appropriate command from the shortcut menu.
应用推荐