devexpress

.NET Core 3来了!如何使用DevExpress WPF创建.NET Core 3应用

。_饼干妹妹 提交于 2019-12-04 20:01:03
DevExpress广泛应用于ECM企业内容管理、 成本管控、进程监督、生产调度,在企业/政务信息化管理中占据一席重要之地。通过DevExpress WPF Controls,您能创建有着强大互动功能的XAML基础应用程序,这些应用程序专注于当代客户的需求和构建未来新一代支持触摸的解决方案。 无论是Office办公软件的衍伸产品,还是以数据为中心的商业智能产品,都能通过该控件来实现。 DevExpress WPF Controls v19.2下载 本指南将介绍如何创建.NET Core 3应用程序、如何将其配置为使用DevExpress WPF控件,以及如何向应用程序本身添加DevExpress控件。(在本教程中,我们将向您展示如何将Spreadsheet控件添加到.NET Core 3项目中) 先决条件 .NET Core 3 SDK Visual Studio 2019 version 16.3 (安装.NET桌面开发工作负载) 分步教程 1. 打开Visual Studio 2019 v16.3,并创建一个新的WPF应用程序(.NET Core)。 2. 添加DevExpress NuGet软件包。 在此文章中,我们描述如何通过DevExpress NuGet Feed获取DevExpress WPF控件。入门指南描述如何从本地源中将DevExpress WPF控件用于

MVVM - WPF DataGrid - AutoGeneratingColumn Event

时光毁灭记忆、已成空白 提交于 2019-12-04 18:04:54
I'm currently taking a good look at the excellent toolkit from Laurent and I have the following question. From Blend 4, I have added an EventTrigger for the Loaded event, in my ViewModel I have the following: public RelayCommand rcAutoGeneratingColumn { get; private set; } In the constructor I have: rcAutoGeneratingColumn = new RelayCommand(o => DataGridAutoGeneratingColumn(o)); Also in the ViewModel, I have the method which I wish to be invoked by the RelayCommand: private void DataGridAutoGeneratingColumn(Object o) { DataGrid grid = (DataGrid)o; foreach (DataGridTextColumn col in grid

Set programatically the title to the viewer form in XtraReport

一笑奈何 提交于 2019-12-04 17:13:18
Does anybody know how to set the title to the form viewer when showing an XtraReport document? The scenario is the following: I have an XtraReport report configured, I show it calling the ShowPreviewDialog method, a viewer form opens and shows the document. I need to set the title to this viewer form and can't find the property or way to accomplish this. Thanks in advance. I don't believe that the preview form used by the XtraReport object is exposed in such a way that you could simply set the title. However, it is possible to create your own preview form . That would give you ultimate control

How to add a weighted average summary to a DevExpress XtraGrid?

 ̄綄美尐妖づ 提交于 2019-12-04 16:10:44
The DevExpress Grid (XtraGrid) allows grids and their groups to have summary calculations. The available options are Count, Max, Min, Avg, Sum, None and Custom. Has anyone got some sample code that shows how to calculate a weighted average column, based upon the weightings provided as values in another column? I ended up working this out, and will post my solution here in case others find it useful. If a weighted average consists of both a value and a weight per row, then column that contains the value should have the weight GridColumn object assigned to its Tag property. Then, this event

DevExpress LookUpEdit And Coded UI Tests

ぐ巨炮叔叔 提交于 2019-12-04 13:18:56
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 this problem? Create a CustomAccessibleObject for each of your controls that inherits from Control

DevExpress v15.1:WinForms控件功能升级(二)

风流意气都作罢 提交于 2019-12-04 13:08:36
< 免费下载DevExpress Winforms Controls v15.1.4 > WinForms Adorner UI管理器 新的WinForms Adorner UI管理器是一个绘制在其他所有UI元素顶端的透明层。它旨在显示对象和视觉效果,为最终用户呈现更好的应用程序状态。您可以用它来绘制badges、突出显示重点UI元素、当验证数据编辑器时显示视觉效果等等。 支持Right-To-Left 在此版本中,我们为以下所有的DevExpress WinForms控件引入了对Right-To-Left (RTL)的支持。 Charts Grid controls (Grid, Treelist, Pivot Grid, Vertical Grid and Property Grid) Data Editors and Controls (Range Control, Rating Control等) Ribbon, Menus和相关控件(BackstageView, AppMenu等) Layout Control和layout containers (TabControl, GroupControl等) Navigation Controls (Navigation Bar, Tile Control等) Application UI Controls (Docking,

Devexpress ASPxGridView GetSelectedFieldValues Can't get values

天涯浪子 提交于 2019-12-04 11:15:34
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 i change pageindex GetSelectedField cannot get the field values. It alerts empty text. If i select a

How include a image in devexpress datagrid

≡放荡痞女 提交于 2019-12-04 10:54:42
How can set icon in Dev express data grid depending on the value returning from Database Saif Khan Here are the steps. Add an ImageCollection to yout form and add some icons 16x16 to it. Add a column to the Grid for the icons. Set the column's fieldName to image (whatever you like). Set the column's UnboundType to Object. Add a repositoryItemPictureEdit to the column's columnEdit. All the above can be done in the designer. Then do the following private void gridView1_CustomUnboundColumnData(object sender, DevExpress.XtraGrid.Views.Base.CustomColumnDataEventArgs e) { if (e.Column == colImage1 &

Legacy Security Policy in Visual Studio 2010 and COM References

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 10:05:44
I have a project using DevExpress 8.3 (2008.3) which I just recently upgraded to use VS 2010. After doing so, everything compiled fine but I got errors trying to use the designer. I resolved this as described here: NetFx40_LegacySecurityPolicy in design-time mode by adding <NetFx40_LegacySecurityPolicy enabled="true"/> to my devenv.exe.config. Designer works fine now, but some of the projects in the solution which have COM references no longer compile, with the exception: The "ResolveComReference" task could not be instantiated from "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral