devexpress

DevExpress v18.1新版亮点——WinForms篇(三)

て烟熏妆下的殇ゞ 提交于 2019-11-28 11:12:36
用户界面套包DevExpress v18.1日前终于正式发布,本站将以连载的形式为大家介绍各版本新增内容。本文将介绍了DevExpress WinForms v18.1 的新功能,快来下载试用新版本! 点击下载>> 支持High DPI 针对所有Windows Forms Controls增强High DPI绘制功能 通过新版本,我们增强了对DirectX渲染的支持,并改进了WinForms产品线中控件元素、边界、缩进和图像的缩放比例。 图像到DPIAware图像转换 新版本为ImageCollection的智能标记添加了一个新操作,该标记将ImageCollection转换为DPIAwareImageCollection。 新控件中的SVG图标 我们现在在以下控件中默认使用SVG图标: Scheduler Filter Editor LayoutView PDF Viewer 要恢复到之前的操作并使用光栅图形,请禁用“WindowsFormsSettings.AllowDefaultSvgImages”选项。 Map Control 循环滚动 DevExpress WinForms Map Control允许您循环滚动图像和矢量地图。 Runtime Vector Item Editor 使用新版本,您可以在运行时编辑矢量项目。新版本开发了一个特殊的工具面板

DevExpress controls for WPF load time

怎甘沉沦 提交于 2019-11-28 08:14:49
问题 When i use DevExpress controls for WPF-load time of the window on which they are declared-increases. But on second access-it loads fast. Isnt there a way to preload all of needed dll/themes on program startup (let it took 5-10 secs!), but load them fast in overall program? I've searched a bit, found something like this: private static void RunTypeInitializers(Assembly a) { Type[] types = a.GetExportedTypes(); for (int i = 0; i < types.Length; i++) { RuntimeHelpers.RunClassConstructor(types[i]

DevExpress控件的GridControl实现行多选

回眸只為那壹抹淺笑 提交于 2019-11-28 06:59:17
最近用到DevExpress控件的GridControl控件,需要用到行多选的操作,在网上找的资料,自己总结一下。 先展示一下效果: 1:设置GridControl控件允许选择多行 Run Designer ->Options->OptionsSelection->MultiSelect=true 2:在行头增加多选框,控制行多选 Run Designer ->Options->OptionsSelection->MutiSelectMode=CheckBoxRowSelect 3:禁用EnableAppearanceFocusedCell属性 Run Designer ->Options->OptionsSelection->EnableAppearanceFocusedCell=False 这个属性没用之前是这个样子,选中的单元格把行的背景色覆盖了,为了美观就把EnableAppearanceFocusedCell属性禁用了 这样就实现了行多选操作 4:后台数据的获取 KObject provideApplication = new KObject();//部门内部封装的数据类型 int[] rows = this.gridView1.GetSelectedRows();//先获取选择行的行号 DataTable dt = this.gridControl1

Exporting Several XtraGrid Controls to a Single Excel File

无人久伴 提交于 2019-11-28 06:27:23
问题 I've got several XtraGrid Controls each one containing different information, I get some information about the way in which you can export a XtraGrid to an Excel file in the following direction http://www.devexpress.com/Support/Center/p/Q362120.aspx Now Is there any way to export the each XtraGrid Control to a single Excel file so that every XtraGrid information is exported to a different excel sheet. I tried setting the exporting path direction to the same Excel file, but when the first

How to get the selected row values of DevExpress XtraGrid?

一个人想着一个人 提交于 2019-11-27 14:02:09
Consider the following picture I get the selected row values in the three textboxes shown in the figure when i click a cell using following code. void dataGridView1_CellClick_1(object sender, DataGridViewCellEventArgs e) { TBGRNo.Text = dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString(); TBSName.Text = dataGridView1.Rows[e.RowIndex].Cells[1].Value.ToString(); TBFName.Text = dataGridView1.Rows[e.RowIndex].Cells[2].Value.ToString(); } My Question is: how will I do the same thing in DevExpress XtraGrid control?? You can do this in a number of ways. You can use databinding (typical

2014年DevExpress使用教程合集

牧云@^-^@ 提交于 2019-11-27 08:50:18
DevExpress系列教程 DevExpress Universal Subscription是DevExpress旗下重要的用户界面控件,也是全球使用最多的.NET用户界面控件套包。自2014年以来,慧都小编为大家奉献了很多使用教程。如果你详细阅读了以下教程,相信会对你起到非常大的帮助: DevExpress使用心得一:换肤 DevExpress使用心得二:界面设计(1) DevExpress使用心得三:界面设计(2) DevExpress使用心得四:在GridView中加载动态图片 DevExpress使用心得五:Treelist拖拽节点 DevExpress使用心得六:自定义TreeList单元格 DevExpress使用心得七:为图表创建动态数据源 DevExpress使用心得八:用DevExpress制作水晶报表 DevExpress使用教程:富文本编辑器RichEditControl DevExpress使用教程:使用ChartControl绘制多重坐标图形 DevExpress使用教程:GridView经验小结 DevExpress使用教程:Form窗体经验小结 DevExpress使用教程:向GridControl添加进度条控件 DevExpress使用教程:常用Winform界面封装 DevExpress使用教程:XtraGrid常见用法

干货来了!2016年DevExpress资源汇总(更新、文档)

浪子不回头ぞ 提交于 2019-11-27 07:17:34
在2016年,著名软件界面解决方案专家DevExpress进行了重大升级,EVGET围绕版本升级推出了一系列干货资源,现将2016年所有Dev资源使用教程汇总于此,欢迎收藏转发点赞哦~ DevExpress WPF入门指南 DevExpress WPF入门指南:Smart Tag概述 DevExpress WPF入门指南:绑定编辑器对话框 DevExpress WPF入门指南:关联MVVM操作和服务 DevExpress WPF入门指南:Smart Tag扩展功能 DevExpress WPF入门指南:跟随 Items Source 向导完成数据绑定 DevExpress WPF入门指南:XAML Namespaces DevExpress WPF入门指南:MVVM框架之BindableBase类 DevExpress WPF入门指南:DXBars, DXRibbon中使用MVVM的两种方式 DevExpress WPF入门指南:WPF控件主题 DevExpress WPF入门指南:触摸支持概述 DevExpress WPF入门指南:如何自动或手动添加DXSplashScreen控件 DevExpress WPF入门指南:DXWindow应用 DevExpress WPF入门指南:加载动画的应用 DevExpress WinForms界面控件初探 超乎你想象!WinForms

DevExpress v18.1新版亮点——WinForms篇(二)

喜欢而已 提交于 2019-11-27 07:17:10
用户界面套包DevExpress v18.1日前终于正式发布,本站将以连载的形式为大家介绍各版本新增内容。本文将介绍了DevExpress WinForms v18.1 的新功能,快来下载试用新版本! 点击下载>> Data Editors Calendar - ClassicNew View DevExpress WinForms Calendar Control和Date Edit附带ClassicNew视图(inspired by Outlook 2016)。 Open File, Save File and Folder Browser Dialogs DevExpress WinForms Open File, Save File and Folder Browser Dialogs在v17.2中首次作为社区技术预览版,此次版本更新标志着它们正式发布。 新的增强功能包括: Folder Browser Dialog包含紧凑和宽屏显示模式。 在使用Open File/Folder操作和MVVM服务时,可以选择遗留或可剪切对话框。 PictureEdit - DirectX Support WinForms PictureEdit控件现在支持DirectX渲染。 增强Toast Notification Manager功能 在新版本中,DevExpress WinForms

Devexpress MVC Gridview

强颜欢笑 提交于 2019-11-27 04:12:37
1. 根据选中的KeyValue 来获取其他field的value // Gridview settings settings.CustomJSProperties = (s, e) => { Dictionary<object, int> visibleIndices = new Dictionary<object, int>(); for (int i = 0; i < ((MVCxGridView)s).VisibleRowCount; i++) visibleIndices.Add(((MVCxGridView)s).GetRowValues(i, ((MVCxGridView)s).KeyFieldName), i); e.Properties["cpIndices"] = visibleIndices; }; //javascript调用 GridView.cpIndices[Key,"fieldName")    2. 根据某些field的value来改变cell的backcolor //Gridview settings settings.HtmlDataCellPrepared = (sender, e) => { var gv = sender as MVCxGridView; string ls_Status = gv.GetRowValues(e

Devexpress MVC GridView / CardView (持续更新)

▼魔方 西西 提交于 2019-11-27 04:12:27
  //获取gridview里面的combo box 显示的文本 //获取某个column在gridview的 index RightGridView.GetColumnByField("FunUID").index //获取gridview里面的combo box 显示的文本 RightGridView.batchEditHelper.GetCellTextContainer(visibleindex ,columnIndex).textContent    在Double Click event里面. 获取当前鼠标选择的列的值 在Double Click event里面. 获取当前鼠标选择的值 //s.GetFocusedCell().rowVisibleIndex 获取当前选中行的index //s.GetFocusedCell().column.fieldName 获取当前选中行的field s.batchEditApi.GetCellValue(s.GetFocusedCell().rowVisibleIndex,s.GetFocusedCell().column.fieldName)    //自定义计算footer的summary //自定义计算footer的summary //首先将需要自定义计算的field 设置为 DevExpress.Data