摘要:1.源代码:/Files/Tonyyang/XAF Modules/MessageNotifyModules.rar
阅读全文
随笔分类 - XAF
eXpress Application Framework
摘要:1.http://www.devexpress.com/Support/Center/Example/Details/E4045This example demonstrates how to use the new security system to implement the subject.Basically, the following scenario is implemented:- Users (Joe, John) can do everything with their own tasks and can also view data of their own depart
阅读全文
摘要:1.代碼如下:publicclassS35430:ViewController<ListView>{protectedoverridevoidOnActivated(){base.OnActivated();CustomizeCollectionSource(View.CollectionSource);View.CollectionSource.CollectionChanged+=newEventHandler(CollectionSource_CollectionChanged);}protectedoverridevoidOnDeactivated(){View.Colle
阅读全文
摘要:Try an XAF application that uses the Entity Framework as an ORM layer http://www.devexpress.com/Support/Center/Question/Details/KA18571
阅读全文
摘要:How to analyze selected data directly from a view - In place Analysis如何从ListView中直接选择数据用Analysis功能分析数据http://www.devexpress.com/Support/Center/p/E964.aspx
阅读全文
摘要:dennisgaravsky.blogspot.hk
阅读全文
摘要:Delta Replication Module for Devexpress eXpressApp Framework一个实现了异步复制XAF模块为分布式XAF应用程序。http://xafdelta.narod.ru/http://xafdelta.codeplex.com/https://www.youtube.com/user/xafdeltaXafDelta 功能特点:•Provides a system of asynchronous heterogeneous replication for WinForms and ASP.NET XAF applications. Suppo
阅读全文
摘要:How to prevent a DetailView from being shown when a User double clicks or presses the Enter key on a record in a ListView http://www.devexpress.com/Support/Center/kb/p/K18038.aspx
阅读全文
摘要:XAF Using Domain Components (DC) in XAF (DevExpress): Part I: The Basicshttp://www.codeproject.com/KB/ThirdParty/DomainComponentsInXAF_1.aspx相关XAF资源:http://conchcoderepublic.com/Screencasts/eXpandScreencasts.aspxhttp://www.distel.nl/index.php/en/xafexperts-uk/whatxaf-ukhttp://www.expressapp.ru/viewf
阅读全文
摘要:方法一:protectedoverridevoidOnChanged(stringpropertyName,objectoldValue,objectnewValue){base.OnChanged(propertyName,oldValue,newValue);if((!IsLoading)&&(!IsDeleted)&&(oldValue!=newValue)){if(propertyName=="ItemA"){//todo}}}方法二:publicpartialclassMyViewController:ViewController{
阅读全文
摘要:扩展XAF 11.2权限 之按钮权限控制1. 需求:XAF系统本身已经带了比较好用权限管理:Object-Level,Class-Level,Member-Level;但是没有对自定义按钮按角色分配的权限控制,因此需实现对自定义按钮的角色权限控制2. 控制方式:角色按钮控制(角色、按钮多对多关系)3. 系统权限类型为SecurityStrategyComplex, AuthenticationStandard(需选择自定义的MySecurityUser和MySecurityRole)4. 需要区分自定义按钮和XAF系统本身自带按钮5. 此按钮权限控制不控制XAF系统自带按钮,也可以通过简单修.
阅读全文
摘要:http://www.devexpress.com/Support/Center/p/E1486.aspxIMPORTANT NOTES1. The LayoutViewListEditor class implemented in this example is not a complete solution, but rather a starting point for creating a custom List Editor based on the XtraGrid's LayoutView and providing similar features as a stand
阅读全文
摘要:http://www.devexpress.com/Support/Center/p/Q341530.aspxhttp://www.devexpress.com/Support/Center/p/S38032.aspx系統管理工具:管理用戶UI設置,匯入、匯出、復位。http://www.devexpress.com/example=E968結合下面代碼一起使用效果更佳。publicclassImportExportUserDifferencesController:WindowController{privateSimpleActionexportDifferencesAction;priv
阅读全文
摘要:How to set size of a popup detail viewhttp://community.devexpress.com/forums/p/105313/356765.aspx#356765privatevoidApplication_CustomizeTemplate(objectsender,CustomizeTemplateEventArgse){this.Application.CustomizeTemplate-=this.Application_CustomizeTemplate;(e.TemplateasForm).Size=newSize(440,260);}
阅读全文
摘要:usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingDevExpress.ExpressApp;usingDevExpress.ExpressApp.Actions;usingDevExpress.ExpressApp.Reports;usingDevExpress.Data.Filtering;usingSystem.Collections;usingDevExpress.Persistent.Base;usingDevExpress.Utils;usingDevExpress.ExpressApp.Utils;
阅读全文
摘要:参考资料:http://www.devexpress.com/Support/Center/p/Q326025.aspxusingSystem;usingSystem.Collections.Generic;usingDevExpress.ExpressApp;usingDevExpress.XtraPivotGrid;usingDevExpress.ExpressApp.PivotGrid.Win;usingDevExpress.ExpressApp.Model;namespaceDXExample.Module{publicclassQ326025Controller:ViewContro
阅读全文
摘要:1.主要包括保存查询条件和几个属性编辑(WinPropertyEditor_DropdownPickList, WinPropertyEditor_CheckedComboBox, WinPropertyEditor_RadioButtonInteger)2.更新到XAF v10.2.6 SourceCode:/Files/Tonyyang/XAF Modules/Inventive.XafAddOn.rar http://www.inventivesoftware.net/Products/DeveloperTools.aspx3.效果
阅读全文
摘要:usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.ComponentModel;usingDevExpress.ExpressApp;usingDevExpress.ExpressApp.Win.Editors;usingDevExpress.ExpressApp.Model;usingDevExpress.XtraEditors;usingSystem.Reflection;usingDevExpress.XtraEditors.Controls;publicclassWinCustomDataS
阅读全文
摘要:privatestring_ActionId;[DataSourceProperty("list")][Custom("PropertyEditorType","MemberLevelSecurityDemo.Module.WinStringArrayValueComboPropertyEditor")]publicstringActionId{get{return_ActionId;}set{SetPropertyValue("ActionId",ref_ActionId,value);}}publicList&
阅读全文
摘要:需要参考:http://www.cnblogs.com/Tonyyang/archive/2011/05/21/2052627.html//DeveloperExpressCodeCentralExample://HowtoimplementtheMemberLevelsecuritymanually(forexample,todenythe'Read'accessfordeclaredpropertiesofsomebusinessclass,andallowaccessfortheinheritedproperties)////Hello,////Thissampledem
阅读全文