在银行场景中,使用这个标记在屏幕上创建菜单控件。
In the bank scenario, you 'use this tag to create menu control on a screen.
这是通过快捷菜单控件的自定义设计器来实现的。
That is the effect of a custom designer for the ContextMenu control.
在图3中你可以看到快捷菜单控件在设计时的呈现。
In Figure 3, you see the ContextMenu control rendered at design time.
菜单控件类型应当出现在其信息所指向的控件下面。
Menu control types should appear under the control that their information is referring to.
也许你知道,在ASP.NET 2.0中有了全新的菜单控件。
AS you probably know, in ASP.NET 2.0 there's a brand new Menu control.
最后,这段代码将菜单控件移动到位于标签控件下面的全局坐标中。
Finally, this code moves the menu control to a global coordinate that is just below the label control.
当实现快捷菜单控件的时候,我首先选择了上述的创建并显示一个弹出窗口。
While implementing this ContextMenu control, I first used the aforementioned technique and created and displayed a popup window.
这里开发的快捷菜单控件需要绝对位置功能。而这一功能并不是所有的浏览器都支持的。
The ContextMenu control as developed here requires absolute positioning that not all browsers support.
这样实际上就是在ContextMenu快捷菜单控件和页面之间创建了一个逻辑信赖。
This fact creates a logical dependency between the ContextMenu control and the page.
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.
位于底部和右边缘的都是它的菜单控件。这些控件全是自定义风格的布尔类型,且内部都有文字标签。
The menu controls along the bottom and right perimeters are Boolean controls with customized appearance and embedded text.
例如,你的搜索输入框有高级的过滤控件,那么可以在输入框尾部以特殊的下拉菜单方式将其隐藏。
For example, if your search bar has advanced filters, put them away in a special drop-down menu at the end.
这种方法要求任何使用自定义快捷菜单的元素必须是服务器控件,有时这种要求是不合适的。
This approach requires that any page element with a context menu be a server control, a requirement that may or may not be acceptable.
XDIME也支持菜单列表、复选框和单选按钮等控件。
XDIME also supports controls like menu lists, checkboxes, and radio buttons.
比方说,移动电话上的浏览器可能采用不同的技术显示控件;对移动电话用户而言,菜单和列表比弹出式选择框更方便。
A browser running on a cell phone might, for example, use different techniques to display the controls; menus and lists are easier for cell phone users than pop-up choice boxes.
XUL能够创建多种元素,比如输入控件、工具栏、菜单、树状图、键盘快捷键等。
XUL has the ability to create elements such as input controls, toolbars, menus, trees, keyboard shortcuts, and so on.
清单9显示了如何将菜单添加到标签控件。
当用户在控件上右击时会弹出快捷菜单。
When the user right-clicks on the control, the context menu pops up.
该工具集包含了各种控件,如数据表格、图表、日历、菜单、树、标签、HTML、拼写检查器、验证码、浏览工具条、调度器等等。
The toolkit contains various controls like: datagrids, charts, calendars, menus, trees, tabs, HTML, spell checkers, captcha, explorer bars, scheduling, and others.
快捷菜单界面是页面的一部分,并且属于页面控件树中的一员。
The context menu's UI is part of the page and takes up space in the page's control tree.
我向IPrensenter接口中添加了新的属性用于对新的菜单项以及任何有可能添加到新的左侧面板中的控件进行建模。
I've added new properties to the IPresenter interface to model the new menu items and any additional controls that might be added to the new left pane.
描述内容现在是一个可编辑的文本字段,steward名称位于一个菜单选择控件中,并且还包括Ok和Cancel按钮。
Description is now in a editable text field, steward name is in a menu select control, and there are buttons labeled Ok and Cancel.
要调用它,使用编辑器控件的QueryBuilder上下文菜单选项。
To invoke it, use the Query Builder context menu option on the editor control.
mobl的标准库还提供了一些高级的控件,像标签组、主从视图、上下文菜单以及可扩展的列表等等。
The mobl standard library also provides higher-level controls such as TAB sets, master-detail views, context menus and expandable lists.
例如,如果您将菜单添加为标签的父元素的子元素,那么Flex就将控件垂直放置在该点的下面,因为这是VBox的默认行为。
For example, if you add the menu as a child of the label's parent, then Flex would place the control vertically beneath that point because that is VBox's default behavior.
上下文菜单被注册到站点中并附加到ListViewer的控件中。
The context menu is registered to the site and attached to the control of the ListViewer.
与简单的文本框不同,不能直接读取该控件的value属性 —必须遍历下拉菜单的选项,直到发现当前选中的项(selected)。
Unlike simple text boxes, you can't just read the value property of the control—you must iterate over the drop-down menu's options until you find the one that is currently selected.
在这个示例中,当选中CoolItem的控件时,会弹出一个菜单,如图2所示。
In this example, a menu that pops up when the CoolItem's control is selected, as shown in Figure 2 below.
您还可以使用VisualStudioQueryBuilder来生成脚本,并使用编辑器控件上的 Query Builder右击上下文菜单选项来调用它。
You can also use the Visual Studio Query Builder to generate the script and invoke it using the Query Builder right-click context menu option on the editor control.
这包括所有标准控件(按钮、文本区域、组合框、单选按钮)和特殊控件(类型前置字段、树形视图控件、上下文弹出菜单)。
This includes all standard controls (buttons, text-fields, combo boxes, radios) and special controls (type-ahead fields, tree-view controls, contextual pop-up menus).
应用推荐