首页> 外国专利> USER INTERFACE CONTROL FRAMEWORK FOR STAMPING OUT CONTROLS USING A DECLARATIVE TEMPLATE

USER INTERFACE CONTROL FRAMEWORK FOR STAMPING OUT CONTROLS USING A DECLARATIVE TEMPLATE

机译:用户界面控制框架,用于使用分隔模板来添加控件

摘要

The user interface ("UI") control framework allows UI controls to be generated declaratively similar to HTML markup, without having to write the boilerplate JavaScript required in normal UI control mode. In one particular exemplary implementation, the UI control framework is structured to be above the existing WinJS (Windows Library for JavaScript) functionality and encapsulates common behaviors across many control implementations to provide a single UI control template An instance can be used to stamp out multiple instances of a control. The UI control framework separates the layout from the "code behind" of the backing control so that the data binding can be abstracted without any clear knowledge of the layout of the control and any child controls thereof. Markup provides "anchor points" that allow code to have direct access to child controls. A custom expando HTML attribute is also used to place the named property on the control instance.
机译:用户界面(“ UI”)控件框架允许以声明方式生成类似于HTML标记的UI控件,而无需编写普通UI控件模式所需的样板JavaScript。在一个特定的示例性实现中,UI控件框架被构造为位于现有WinJS(JavaScript的Windows库)功能之上,并封装了许多控件实现中的常见行为以提供单个UI控件模板。实例可用于标记多个实例控件。 UI控件框架将布局与后备控件的“后面的代码”分开,从而可以抽象出数据绑定,而无需对控件及其子控件的布局有任何清楚的了解。标记提供“锚点”,使代码可以直接访问子控件。自定义的expando HTML属性还用于将命名属性放置在控件实例上。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号