当以编程方式创建用户控件时,只有创建了对该控件的引用之后,ASP。
When you create the user control programmatically, the strong type for your user control is available to the ASP.
本节中的主题提供有关用户控件的工作原理、如何创建用户控件以及如何向asp。
The topics in this section provide information on how user controls work, how to create them, and how to add them to ASP.
您可以用代码将一组标准控件绑定在一起来创建用户控件,也可以从头开始设计自己的控件。
You can create a user control, which is a set of standard controls bound together by code, or you can design your own control from the ground up.
以前树形控件是通过清单和链接创建的,因此用户必须使用制表键跳到每个树项目。
Previously, tree controls were created out of lists and links so the user had to TAB to each tree item.
您可将数据源拖放到应用程序中的一个窗体中,这将自动在窗体中创建默认用户界面控件并生成所有必需的代码。
You can drag and drop the data source onto a form in the application, which automatically creates a default user interface control in the form and generates all the necessary code.
这些类将成为以后创建的用户控件的代码。
These classes will become the code behind the user controls that you will create later.
现在,您需要创建一些用户控件,来表示与在上一步中创建的SkinnedCommunityControl类相对应的每个基本模块页的内容外观。
Now you need to create user controls that represent the content skins for each of the basic module pages that correspond to the SkinnedCommunityControl classes created in the previous step.
VisualStudioPackageProject模板默认情况下会为工具窗口创建WPF的用户控件。
The Visual Studio Package Project Template by default creates a WPF user control for the tool window.
您看到了首先解决数据实例(模型)创建,然后作为补充在此基础上解决用户界面控件(视图)创建问题的好处。
You learned the advantages of addressing the creation of a data instance (the model) first and addressing the creation of user interface controls (the view) only upon completing that task.
这个程序不仅支持用户界面的拖放创建功能,还允许开发人员以图形的方式将UI控件 “连接”到底层应用程序控制器上的方法。
This program not only enables drag-and-drop creation of user interfaces, but also allows developers to visually "wire" the UI controls to methods on the underlying application controllers.
通过使用图形用户界面,用户可以创建窗体,向窗体中添加控件,然后连接这些控件的事件来创建Palm应用程序。
By using a graphical interface, the user could create forms, populate them with controls, and then wire events from these controls to create the Palm application.
避免为了告诉用户旋转设备而去创建一个控件或定义一个行为。
Avoid creating a control or defining a gesture that tells users to rotate the device.
现在项目已经建立了,然后为你的模块界面创建一些用户控件。
Now that your project has been created we will create some user controls for your module interface.
表示在用户界面(UI)中动态创建以便在容器中辅助控件的设计时布局的水平和垂直线段。
Represents the horizontal and vertical line segments that are dynamically created in the user interface (UI) to assist in the design-time layout of controls in a container.
尽管已经创建的控件不是很复杂,但您已经了解可以置入用户控件的许多基本功能。
Although the control that you have created is not very complex, you have seen much of the basic functionality that you can build into a user control.
设计图面是一个可视区域,您可以在此添加控件以创建用户界面。
The design surface is a visual area where you add controls to create a user interface.
“数据源”窗口在用户界面中创建数据绑定的控件,方法是将各个项从该窗口拖动到项目中的设计图面上。
Data Sources window to create data-bound controls in your user interface by dragging items from the window onto a design surface in your project.
例如,您可以向功能区中添加控件、可以显示操作窗格,并且可以创建对用户在文档中键入的特定字符串进行响应的智能标记。
For example, you can add controls to the Ribbon, you can display an actions pane, and you can create smart tags that respond to specific strings that users type in the document.
当你创建完一个图形用户界面皮肤之后,你可以在监视窗中编辑它包含的所有样式,例如,文本框样式将被应用于所有的文本框控件。
After you have created a GUISkin, you can edit all of the Styles it contains in the Inspector. For example, the Text Field Style will be applied to all Text Field Controls.
本文介绍了如何利用ADO对象设置一些属性,结合相关的数据绑定控件产生的用户界面,来创建简单的数据库应用程序。
This article presents how to set some attributes of ADO objects, create user interfaces combining some relative data bounding controls, and program simple database applications.
很不幸,程序员太过轻松就可以创建出由布满控件的对话框组成的用户界面。
Unfortunately, it's quite easy for developers to create user interfaces composed mostly of control-laden dialog boxes.
开发人员创建由用户控件定义的类型模板,然后可以向模板添加控件和标记。
The developer creates templates of the type defined by the user control, and can then add controls and markup to the templates.
文本框控件可用来创建用户输入文字用的文本框。
The TextBox control is used to create a text box where the user can input text.
用户控件创建一个鼠标只剥了皮的酒吧。
SkinTrackbar. cs - User control to create a mouse only skinned track bar.
用户控件创建一个鼠标只剥了皮的酒吧。
SkinTrackbar. cs - User control to create a mouse only skinned track bar.
应用推荐