首页 > 其他分享 >xaf-模型更新限制

xaf-模型更新限制

时间:2024-09-11 13:51:30浏览次数:9  
标签:control 控件 模型 更新 Application UI Model 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 中。

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

标签:control,控件,模型,更新,Application,UI,Model,xaf
From: https://www.cnblogs.com/lishidefengchen/p/18408114

相关文章