摘要:1.在列表编辑器中2.在属性编辑器中3.实现代码如下代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.ComponentModel;usingDevExpress.Xpo;usingDevExpres...
阅读全文
随笔分类 - XAF and XPO
摘要:1.语法[代码]ParametersobjectType A System.Type object that identifies the type of objects against which the expression will be evaluated. expression A DevExpress.Data.Filtering.CriteriaOperator object th...
阅读全文
摘要:代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--publicclassOrder:XPObject{publicOrder(){}publicdecimalUnitPrice;publicintQty;publicdecimalDiscount;...
阅读全文
摘要:/Files/Tonyyang/eXpressAppFramework_CHS.rar Devexpress最新帮助文档:http://documentation.devexpress.com/
阅读全文
摘要:How to create fully custom Role, User, Event, Resource classes for use with the Security and Scheduler moduleshttp://www.devexpress.com/Support/Center/e/E1255.aspx
阅读全文
摘要:How to show custom windows in XAFhttp://www.devexpress.com/Support/Center/KB/p/K18117.aspx
阅读全文
摘要:1.XPO中 聚合函数的使用(Count,Max,Sum,Min) 用Session中的Evaluate<>()方法[代码]
阅读全文
摘要:How to enable runtime customization of the Pivot Grid http://www.devexpress.com/Support/Center/p/E1886.aspx
阅读全文
摘要:Example Details: How to prevent a DetailView from being shown when a User double clicks or presses the Enter key on a record in a ListView (Example)http://www.devexpress.com/Support/Center/p/E622.aspx
阅读全文
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingDevExpress.ExpressApp;usingDevExpr...
阅读全文
摘要:How to: Map a Database View to a Persistent Class(如何:映射数据库视图到持久化类)http://documentation.devexpress.com/#Xaf/CustomDocument3281代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--首先创建一个结构体,结构体中的属性为要绑定的视图列publicstructMyViewKey{[Persistent("Name")]publics
阅读全文
摘要:1.问题: 有多对对关系对象,想为从对象选择数据录入从别的相关对象。2.实现思路: A.弹出选择窗体,从中选出所需记录 B.将A和B组合为从对象,保存 C.修改主从对象列表为可编辑(在View 中Item_Detail_ListView设置为可编辑)3.代码实现[代码]
阅读全文
摘要:有三种方法设置默认值:1.BaseObject.AfterConstruction,覆写AfterConstruction方法[代码]2.IXPObject.OnSaving,覆写OnSaving()方法[代码]3.In a field declaration,在字段定义中[代码]
阅读全文
摘要:1.XAF 扩展模块 http://apobekiaris.blogspot.com/2009/10/yes-xaf-can-do-it-before-lunch.html Expand soure code :http://expandframework.googlecode.com/svn/trunk/2.XAF CodeSmithTemplate 使用视频:http://megasw...
阅读全文
摘要:Unit OF Work工作单元 eXpress Persistent Objects can now perform semi-automatic change tracking using the Unit of Work principle. A Unit of Work maintains a list of persistent objects that are affected by ...
阅读全文
摘要:eXpressApp Framework ArchitectureXAF架构Applications built with the eXpressApp Framework are comprised of several functional blocks. The schema below shows the basic blocks, indicates when and how these...
阅读全文
摘要:制作XAF 属性样式模板1.新建模板 #PropertyWriteXAF# «:#PropertyVarDeclaration#» «:#PropertyDefaultScope#»«TypeLink("«?Get(Type)»")» «:#PropertyBody#»2.继续新建模板 #Pro...
阅读全文