- 博客(25)
- 资源 (2)
- 收藏
- 关注
原创 在同一页面上显示List View和Detail View
Display a Detail View Together With a List View
2014-04-24 09:49:21 825
原创 设置Action执行的验证条件
Implement Property Value Validation in the Application Model
2014-04-24 08:36:09 564
原创 设置lookupeditor
Filter Lookup Editor Data SourceSet the Many-to-Many relationship between the Position and Department classes.
2014-04-24 07:52:01 673
原创 设置业务对象的窗口标题
When setting the object caption format you can explicitly specify the format string. For instance,{0:ArticleNo:0000,00#}, or {0:PeriodDateValue:MM.yyyy}.
2014-04-18 13:48:59 486
原创 执行Action前显示确认窗口
Specify Action SettingsNavigate to the Misc category. By default, the Tooltip property is set to theCaption property's value. Set the "Clear the current object's fields" value instead. Set t
2014-04-18 11:16:42 617
原创 操作List View(添加tooltip到List View的列头)
Since you are going to access the settings of the List View's grid control, you need to ensure it has already been created. That's why you need to subscribe to the Controller'sViewControlsCreated ev
2014-04-18 09:49:39 784
原创 操作Editor
using DevExpress.ExpressApp.Web.Editors;using DevExpress.Web.ASPxEditors;using DevExpress.ExpressApp.Utils;// ...private void WebNullTextEditorController_Activated(object sender, EventArgs e) {
2014-04-18 09:31:12 536
原创 重写controller的CloseAndSave方法(点击关闭时关闭整个Detail View)
protected override void SaveAndClose(SimpleActionExecuteEventArgs e) { View view = View; base.SaveAndClose(e); if ((view != null) && (((DetailView)view).ObjectTypeInfo.Type ==
2014-04-18 08:38:25 916
原创 实现弹出窗口选择内容
Add an Action that Displays a Pop-up Window using DevExpress.Persistent.BaseImpl;// ...private void ShowNotesAction_CustomizePopupWindowParams(object sender, CustomizePopupWindowParamsEventA
2014-04-18 07:43:48 873
原创 通过属性添加Action
[DefaultClassOptions][ModelDefault("Caption", "Task")]public class DemoTask : Task { //... [Action(ToolTip = "Postpone the task to the next day")] public void Postpone() { if(Due
2014-04-17 14:24:22 486
原创 检查输入是否为空并提示
Drag the ValidationModule item from this page to the Designer'sRequired Modules section.
2014-04-17 14:20:13 587
原创 设置具有关联条件的属性
[DefaultClassOptions]public class Contact : Person { //... [DataSourceProperty("Department.Contacts",DataSourcePropertyIsNullMode.SelectAll)] [DataSourceCriteria("Position.Title = 'Manage
2014-04-17 14:14:50 613
原创 新增或修改时 设置显示的默认值
public class DemoTask : Task { // ... private Priority priority; public Priority Priority { get { return priority; } set { SetPropertyValue("Priority", ref prio
2014-04-17 13:44:17 579
原创 设置一对多关系
C# CopyCode imageCopy Code [DefaultClassOptions]public class Contact : Person { //... private Department department; [Association("Department-Contacts", typeof(Department))] public D
2014-04-17 11:12:10 668
原创 XAF添加Action到菜单 用于过滤
Add a new View Controller to the MySolution.Module project, as described in theAdd a Simple Action lesson. Name it PopupNotesController.Right-click the MySolution.Module | Controllers | PopupNot
2014-04-17 09:04:12 854
CefSharp ver-49 整合包下载 支持 framework4.0 vs2010 附nuget导入教程
2020-04-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人