devexpress

DevExpress LookUpEdit And Coded UI Tests

你离开我真会死。 提交于 2019-12-06 07:16:32
问题 We are developing software using Windows Forms and DevExpress controls. And also we want to use Coded UI tests to test our application automatically. As our recent experiences taught us that DevExpress does not support CUIT. But we have no options to neither give up from DevExpress control nor give up from CUIT. Recently i created a test case using MTM that tests a form which includes LookUpEdit controls. As you would guess i couldn't use parameters correctly. Is there any way to workaround

Remove gridview options

。_饼干妹妹 提交于 2019-12-06 06:10:00
How to remove "Show Group By Box" and "Remove This Column" from GridView menu? When I go to events there are no ShowGridMenu event so THIS will not work for me... Use the GridView.PopupMenuShowing event instead for this purpose. private void gridView1_PopupMenuShowing(object sender, DevExpress.XtraGrid.Views.Grid.PopupMenuShowingEventArgs e) { if(e.MenuType == GridMenuType.Column) RemoveItem(e.Menu, GridLocalizer.Active.GetLocalizedString(GridStringId.MenuColumnRemoveColumn)); else if(e.MenuType == GridMenuType.Group) RemoveItem(e.Menu, GridLocalizer.Active.GetLocalizedString(GridStringId

DevExpress:可左右滑动的图片框ImageSlider

我是研究僧i 提交于 2019-12-06 05:49:02
本文为我的.NET控件库DevExpress使用笔记,我的DevExpress版本为13.1 1、控件类型全称:DevExpress.XtraEditors.Controls.ImageSlider 2、控件所在程序集:DevExpress.XtraEditors.v13.1.dll 3、工具箱内分类:DX.13.1: Common Controls 4、控件样式截图 5、ImageSlider是一个可以左右拖动的图片框。类似与电子相册的功能,当鼠标停在这个控件上时,控件左右两侧会出现两个按钮:向左和向右,这两个按钮的功能即展示上一张或下一张图片。该控件下的SlidePrev和SlideNext函数,也可以用于实现这一功能 6、将控件的AllowLooping属性设置为True后,可以将图片框设置为循环展示,即最后一张图片的下一张图片是第一张图片,第一张图片的上一张图片是最后一张 7、控件的LayoutMode属性用于设定图片在图片框中的停靠方式。该方式取自枚举DevExpress.Utils.Drawing.ImageLayoutMode,取值范围如下: TopLeft、TopCenter、TopRight、MiddleLeft、MiddleCenter、MiddleRight、BottomLeft、BottomCenter、BottomRight,功能为将图片停靠在八个方向上

DevExpress:带计算器功能的文本框CalcEdit

怎甘沉沦 提交于 2019-12-06 05:48:51
本文为我的.NET控件库DevExpress使用笔记,我的DevExpress版本为13.1 1、控件类型全称:DevExpress.XtraEditors.CalcEdit 2、控件所在程序集:DevExpress.XtraEditors.v13.1.dll 3、工具箱内分类:DX.13.1: Common Controls 4、控件样式截图 5、CalcEdit控件是一个用于显示数字的文本框,文本框的内容,可以通过点击右侧按钮弹出的计算器计算得出 6、CalcEdit的功能与Windows提供的计算机程序calc.exe中的“标准型”计算器非常类似,与calc.exe相比只是少了M-按钮的功能 7、下图为CalcEdit控件的计算器面板 以下是部分按键的功能 Back:有的计算器上的按钮图案为“←”,功能为撤销上一次操作 CE:(Clear Enter)在数字输入期间按下此键,将清除输入寄存器中的值并显示"0",可重新输入 C:(Clear)清除全部数据结果和运算符 MC:(Memory Clear)清除存储器内保存的数据 MR:(Memory Read)读取存储器内保存的数据 MS:(Memory Save)将所显示的数存入存储器中,存储器中原有的数据被覆盖 M+:将输入的数加上存储器中的数,所得结果存入存储器 sqrt:(Square Root)将当前输入的数字开方 1/x

Devexpress ASPxGridView GetSelectedFieldValues Can't get values

▼魔方 西西 提交于 2019-12-06 04:52:55
问题 I'm using a gridview with paging. My grid has a command column and ShowSelectCheckbox is set to true. I bind DataTable to grid at Page_Load event with the condition [ if (!IsCallback) ]. So when i change page index data is lost. After that i wrote bind code to grid's PageIndexChanged event. Now it works like charm. But GetSelectedFieldValues works only at first page when SelectionChanged event occurs. In example when i select a row at first page it gets the field values that i want. But when

DEVEXPRESS - xtrareport - page break

邮差的信 提交于 2019-12-06 03:19:20
问题 I have a datatable with more than 300 rows. I want each page to present only 10 rows in it. I want to force the xtrareport to break after 10 rows. Any idea on how this is done ? 回答1: You can force a page break on certain conditions. This page has an example at the bottom. Hi Cary, To accomplish this task you can either add a GroupFooter band and set the GroupFooter.PageBreak to AfterBand. or put a XRPageBreak control, handle the Detail.BeforePrint and adjust the visibility of the XRPageBreak

DevExpress 各版本介绍

限于喜欢 提交于 2019-12-06 02:48:10
DXperience 6.X (每个子版本只发最大版本号) DXperience 6.3.9 DXperience 6.2.10 DXperience 6.1.10 ------------------------------------------------------------------------------- DXperience 7.X (每个子版本只发最大版本号) DXperience 7.3.13 (.NET Framework2.0+) DXperience 7.2.11 (.NET Framework2.0/3.0) DXperience 7.1.10 (.NET Framework2.0/3.0) ----------------------------------------------------------- DXperience 8.X (每个子版本只发最大版本号) DXperience 8.3.10 (.NET Framework2.0+) DXperience 8.2.10 (.NET Framework2.0+) DXperience 8.1.10 (.NET Framework2.0+) ------------------------------------------------------------

Changing Row Colours on DevExpress GridView

随声附和 提交于 2019-12-06 01:34:00
I am trying to change the colour of a row to green in a devexpress gridview. When searching I found many examples of how to do this... in websites BUT this is a windows application. I cannot find any thing on a windows application so can someone please help me out a bit here. I simply just want to change the colour of a single row to green. Forgot to mention, its a C# application. Thanks for the help. For changing the row colour in runtime handle the RowStyle event: public Color color1; public Color color2; public int rowhandle; private void gridView1_RowStyle(object sender, DevExpress

Winforms asynchronous loading large data?

无人久伴 提交于 2019-12-06 00:36:24
I just received a bug list for an old app developed yeah years ago and one of the things i need to sort out is the amount of time it takes to load data into one screen,of course, while the screen is frozen and unfortunately this is in WinForms .NET 4.5. The data is loaded into a WinForms DataGridView. I would like to find out if there is any way of loading this data using C# 5 async and await,while refreshing the grid to add the next set of data. It may be while scrolling or in the background.Any ideas? Try loading all of the data into an array from an asynchronous thread and then using Invoke

.NET Core 3时代DevExpress Winforms v19.2增强TreeList控件

心不动则不痛 提交于 2019-12-05 22:22:44
DevExpress Winforms Controls 内置140多个UI控件和库,完美构建流畅、美观且易于使用的应用程序。无论是Office风格的界面,还是分析处理大批量的业务数据,DevExpress WinForms都能轻松胜任!DevExpress Winforms v19.2日前正式发布啦!新版本增强皮肤和矢量图标、Spreadsheet、TreeList控件功能等,欢迎立即下载体验哦! DevExpress Winforms v19.2正式版下载 皮肤和矢量图标 全新的Office 2019皮肤 v19.2中引入三种新的Office 2019矢量外观:白色、黑色和深灰色。 全新的基础皮肤 新版本包括全新的矢量皮肤(基本),具有六种颜色变化(调色板)。 现在默认情况下,基本外观已应用于所有WinForms控件。 Spreadsheet 支持Excel Binary Workbook (XLSB) DevExpress Spreadsheet Document API和WinForms / WPF Spreadsheet控件现在支持XLSB(BIFF12)格式,您可以使用此格式加载和保存文档。 支持Excel 5.0/95 Workbook (BIFF5) 在此版本中,WinForms和WPF Spreadsheet控件以及Spreadsheet Document