xaf-模型更新限制

Limitations

The XAF UI does not reflect changes made in the Application Model after control creation. Customize the Application Model before the control used to display a target UI element is created and loaded. Access the control directly to customize a UI element after the control’s creation. Refer to the following topic for more information: How to: Access the Grid Component in a List View.

You can also recreate the control with the latest Application Model changes as described in the following topic: Apply Application Model Changes to the Current View Immediately.

【理解】

上面介绍了XAF 在处理控件更新时的限制。

即一旦控件被创建,模型的变更不会自动反映在 UI 中。

如果需要反映模型变更,应该在控件创建前进行调整,或通过直接访问控件或者重新创建控件来实现变更的应用。

posted @   lishidefengchen  阅读(10)  评论(0编辑  收藏  举报
(评论功能已被禁用)
相关博文:
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 字符编码:从基础到乱码解决
历史上的今天:
2019-09-11 Linux文件权限学习笔记
点击右上角即可分享
微信分享提示