[摘要] 数据绑定,不仅可以用在传统的绑定环境中,还能被扩展应用到控件属性上。通过数据绑定,在应用程序UI和程序逻辑之间建立了一种联系。正常建立绑定后,在数据的值发生改变后,绑定到数据的元素将自动更新、体现出数据的变化。36908
本文的主要工作是探讨使用数据绑定实现数据对象对UI的驱动的实现。本文详细探讨了数据绑定的原理与实现,论文中结合了能谱仪项目对数据绑定进行了实际应用,最后总结使用数据绑定技术的优势。
[毕业论文关键词] 数据绑定;自动更新;UI驱动;
Data binding implement data objects for UI drive
Abstract
Data binding, In addition to the traditional binding environment, data binding has been extended to control properties. Through data binding, we have a connection between application UI and program logic.. After the establishment of the normal binding, the value of the data changes, the elements of the data will be automatically updated to reflect the changes of data.
The main job of this paper is to investigate the implementation of data object to UI driven by data binding. This paper discusses the principle and implementation of data binding, and the application of the spectrometer project to data binding is discussed, and the advantage of data binding technology is summarized.
Keywords: Data binding; auto update; UI Driver