这充分展示了与控件实例交互的能力。
This demonstrates the ability to interact with the control instance.
然后可以通过设置特性来声明服务器控件实例上的属性参数和事件绑定。
You then set attributes to declare property arguments and event bindings on server control instances.
相反,它们被替换为告诉ObjectDataSource控件实例化哪个业务类以及使用哪个方法来检索或修改数据的其他属性。
Instead, they are replaced with other properties which tell the ObjectDataSource control which business class to instantiate and which method to use to retrieve or modify the data.
您看到了首先解决数据实例(模型)创建,然后作为补充在此基础上解决用户界面控件(视图)创建问题的好处。
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.
每个控件都能引用模型的实例数据。
Each control can reference data from the model's instance data.
数据模型包括后面绑定到用户界面控件的实例数据。
This data model contains instance data that you'll later bind to user interface controls.
创建输入控件并将其绑定到实例数据。
要使用dojo . dom模块中的基本函数为绑定控件的当前编辑器实例创建和存储一个惟一的ID,需要用到一个属性。
An attribute is needed to create and store a unique ID for the current editor instance of the bound control using base functions available in the dojo.dom module.
它使用了一些简单的XForms控件从模型的实例数据中迭代xml数据。
It USES some simple XForms controls to iterate the XML data from the model's instance data.
类型信息对于X Forms呈现程序(renderer)特别重要,X Forms呈现程序基于相应实例元素的数据类型或属性呈现不同类型的控件。
Type information is particularly important to XForms renderers, which render different types of controls based on the data type of the corresponding instance element or attribute.
因为表单可以将Schematron文档本身作为实例数据使用,所以可以将控件绑定到Schematron文档中的节点。
Since the Schematron document itself is made available to the form as instance data, you're free to bind controls to nodes in the Schematron document.
引用不存在的实例元素的控件要么不能呈现,要么生成错误消息(取决于XForms实现)。
Controls that reference non-existent instance elements will either fail to render, or generate an error message (depending on your XForms implementation).
这个控件将在你的窗体上放置一个Systems . Windows . Forms .Timer类的实例。
This control will place an instance of the System.Windows.Forms.Timer class on your form.
创建控件更简单的办法是从实例数据中选择节点,拖放到设计画布的空白区域。
An even easier way to create a control is to select a node in your instance data and drag it onto an empty area in the design canvas.
特别是,VisualStudio提供创建ComponentResourceManager实例的代码,这会加载正确的资源集,并分配所有必要的控件值。
In particular, Visual Studio supplies the code to create an instance of the ComponentResourceManager, which loads the proper set of resources and assigns all the necessary control values.
像工具箱上的其它控件一样,你可以让Visual Studio . NET处理其生成或者你自己手动的实例和初始化这个类。
Like all other controls in the toolbox, you can either let Visual Studio.net handle the plumbing or you can manually instantiate and initialize the class yourself.
在第22行上,通过使用两个参数来实例化site变量:第一个参数包含对OleFrame的引用,第二个参数包含标识activex控件的字符串。
Line 22 instantiates the site variable using two arguments: the first argument contains a reference to an OleFrame, and the second argument contains a string that identifies the ActiveX control.
我们没有显式地为每件项目编写一个UI控件,而是使用标记重复清单4中实例中的shoppingcart节。
Instead of explicitly writing a UI control for each item, we use a tag to iterate over the ShoppingCart section in the instance in Listing 4.
为了给每个单元格提供这种精确控制,添加到GridLayout 的托管复合控件的控件可以拥有 GridData实例(LayoutData的子类)。
To provide this type of refined control for each cell, the controls added to a GridLayout managed composite can have instances of GridData (a LayoutData sub-class).
ControllerConstructorTypes——这是一个只读属性,读取从ControllerConstructorArgs设置的类型,其用于实例化控件。
ControllerConstructorTypes - This is a read-only property that pulls the types from the ControllerConstructorArgs, it's used for instantiating the control.
在清单8的步骤10中,实例化了一个SearchControls对象,可以用它构建一些搜索控件。
In Step 10 of Listing 8, you instantiate a SearchControls object, which you can then use to build some search controls. Search controls are used for two main purposes.
开始一个项目的时候,你需要建立几个用户控件和你的模块交互,并且为你的管理员配置一些模块实例设置。
Initially when starting a project, you will need to create a few user controls for your user to interact with your module, and for your administrators to configure some module instance Settings.
对用户来说一个模块的浏览控件是基本的,然后是设置控件,对模块实例来说有唯一值。
A simple module can be as basic as a view control to display an interface for your user, and then a Settings control for specifying unique values that are specific for a module instance.
应用实例表明,控件的属性类的设计必须考虑其应用的透明性和修改的封装性。
The example shows that the design of control property class must be considered its application transparence and modification seal.
由于用户输入必须通过所有测试才能视为有效,因此,在此实例中使用多个验证控件不起作用。
Using multiple validation controls would not work in this instance because the user input must pass all tests to be valid.
在您的主应用程序中,最初创建该纸牌自定义控件的52个实例。
In your main application, you initially create 52 instances of this card custom control.
在您的主应用程序中,最初创建该纸牌自定义控件的52个实例。
In your main application, you initially create 52 instances of this card custom control.
应用推荐