随笔分类 -  XAF

DevExpress Application Framework
摘要: 在本课中,您将学习如何创建支持选项选择的按钮。将实现一个新的视图控制器,并将向其添加一个单选按钮。通过此操作,"任务.优先级"和"任务.状态"属性将设置为最终用户选择的值。 阅读全文
posted @ 2019-12-12 15:28 code first life 阅读(372) 评论(0) 推荐(2) 编辑
摘要:在本课中,您将学习如何为 Business 类的特定属性设置默认值。为此,优先级属性将添加到在"设置多对多关系 (XPO)"一课中创建的 DemoTask 类中。要初始化它,将重写此类中的"构建后"方法。 阅读全文
posted @ 2019-12-11 16:02 code first life 阅读(208) 评论(0) 推荐(2) 编辑
摘要:在XAF中,业务模型定义了数据库结构和UI外观。对持久类的更改会影响UI。例如,如果您向业务类添加新属性,则列表和详细表单中将添加一个新编辑器。 您可以使用自动生成的UI,也可以根据业务需求和场景对其进行自定义。本主题描述如何自定义应用程序的外观和行为。 阅读全文
posted @ 2019-12-11 16:01 code first life 阅读(275) 评论(0) 推荐(2) 编辑
摘要:在本课中,您将学习如何使用来自 Business 类库中的业务类。为此,您将事件业务类添加到应用程序。 阅读全文
posted @ 2019-12-11 12:30 code first life 阅读(297) 评论(0) 推荐(2) 编辑
摘要:本课介绍如何为业务类及其属性设置规则。当最终用户执行指定的操作时,将验证这些规则。本课将指导您完成一个规则的实施,该规则要求位置.Title 属性不能为空。保存"位置"对象时将检查此规则。您还可以看到报告损坏规则的用户界面元素。 阅读全文
posted @ 2019-12-11 12:11 code first life 阅读(356) 评论(0) 推荐(2) 编辑
摘要:在本课中,您将学习如何使用 Business 类库为应用程序实现业务类。此库包含最典型的即用型业务类。您将通过从此库中可用的 Person 类派生来实现自定义联系人类,并实现多个附加属性。您还将学习基于数据的自动用户界面构造的基础知识。 阅读全文
posted @ 2019-12-11 12:09 code first life 阅读(326) 评论(0) 推荐(2) 编辑
摘要:每次运行应用程序时,它都会将应用程序版本与数据库版本进行比较,并在应用程序或数据库中查找更改。如果数据库版本低于应用程序版本,则应用程序将引发 XafApplication.DatabaseVersion 不匹配事件。 此事件由 WinForms 处理,并在解决方案模板中ASP.NET应用程序。 当应用程序在调试模式下运行时,此事件处理程序使用内置的数据库更新程序来更新应用程序的数据库。更新数据库架构后,将调用模块更新器.Updatedatabase 后更新架构方法。在此方法中,可以将所需的业务对象保存到数据库中。 阅读全文
posted @ 2019-12-11 12:08 code first life 阅读(346) 评论(0) 推荐(1) 编辑
摘要:本主题介绍如何使用解决方案向导创建XAF应用程序并指定连接字符串。 阅读全文
posted @ 2019-12-11 11:00 code first life 阅读(398) 评论(0) 推荐(1) 编辑
摘要:使用eXpressApp框架构建的应用程序由几个功能块组成。下图显示了基本块,指出了何时以及如何创建这些块,最后显示了可以扩展应用程序的领域。本主题后面将给出每个应用程序构建块的概述。 阅读全文
posted @ 2019-12-11 10:53 code first life 阅读(699) 评论(0) 推荐(1) 编辑
摘要:XAF模型编辑器的选项结点下面有个RibbonControlStyle设置,如图所示: 阅读全文
posted @ 2019-12-03 14:47 code first life 阅读(454) 评论(0) 推荐(1) 编辑
摘要:https://www.devexpress.com/Support/Center/Question/Details/S134617/how-to-map-actions-to-a-certain-ribbonpage-and-ribbongroup-using-the-application-mo 阅读全文
posted @ 2018-08-31 16:10 code first life 阅读(204) 评论(0) 推荐(0) 编辑
摘要:https://www.devexpress.com/Support/Center/Question/Details/T505528/how-to-implement-a-custom-propertyeditor-so-that-it-supports-appearance-rules-provi 阅读全文
posted @ 2018-08-30 10:42 code first life 阅读(162) 评论(0) 推荐(1) 编辑
摘要:In the meantime, you should use the Model Editor to create such a navigation structure. There are several solutions for cases when DevExpress.Persiste 阅读全文
posted @ 2018-08-30 09:29 code first life 阅读(235) 评论(0) 推荐(0) 编辑
摘要:https://www.devexpress.com/Support/Center/Question/Details/T565897/how-to-access-business-objects-with-their-related-objectspaces-multi-database-envir 阅读全文
posted @ 2018-08-29 22:44 code first life 阅读(193) 评论(0) 推荐(0) 编辑
摘要:英文版:https://documentation.devexpress.com/eXpressAppFramework/112818/Concepts/Extend-Functionality/Determine-Why-an-Action-Controller-or-Editor-is-Inac 阅读全文
posted @ 2018-08-14 23:04 code first life 阅读(323) 评论(0) 推荐(0) 编辑
摘要:The Permission Policy determines Security System behavior when there are no explicitly specified permissions for a specific type, object or member. Th 阅读全文
posted @ 2017-06-23 09:24 code first life 阅读(379) 评论(0) 推荐(0) 编辑
摘要:https://www.devexpress.com/Support/Center/Question/Details/S32444/core-provide-an-easy-way-to-store-administrator-and-user-model-differences-in-a-cust 阅读全文
posted @ 2017-06-22 10:57 code first life 阅读(441) 评论(0) 推荐(0) 编辑
摘要:一,PersistentAliasAttribute-[XPO提供] Indicates that a property is not persistent and its value is calculated based upon the values of a specific field(s 阅读全文
posted @ 2017-05-28 14:31 code first life 阅读(685) 评论(0) 推荐(1) 编辑
摘要:通知模块概述 1.支持 WinForms和ASP.NET程序. 2.支持调度模块或自定义业务对象. 3.功能:在指定的时间,弹出一个窗口,用户可以查看提醒.也可以取消或推迟. 如需演示项目的源码,可以在留言中留下邮箱! 要使用通知模块,需要使用下面的模块. 第一步: 第二步: 第三步: Window 阅读全文
posted @ 2017-04-04 19:38 code first life 阅读(1698) 评论(3) 推荐(4) 编辑
摘要:This example demonstrates how to display a non-persistent object's List View when a navigation item is chosen. Note that this approach is compatible w 阅读全文
posted @ 2017-04-03 16:25 code first life 阅读(882) 评论(7) 推荐(0) 编辑

点击右上角即可分享
微信分享提示