DevExpress下的.NET界面组件 DXperience Universal Suite 最新发布13.1.7版,多个属性的定义方式发生变化,另外还有大量的bug修复。使用DevExpress朋友一定要注意以下更新:

>>下载

DXControls for WPF

IDialogService.ShowDialog 方法的定义方式变化,之前的定义是:

1
MessageBoxResult ShowDialog(MessageBoxButton button, string title, string documentType, object parameter, object parentViewModel, bool useParameterAsViewModel);

新的定义方式:

1
UICommand ShowDialog(IList<UICommand> dialogCommands, MessageBoxButton? dialogButtons, string title, string documentType, object viewModel, object parameter, object parentViewModel);

建议不直接调用IDialogService.ShowDialog,用DialogServiceExtensions类提供的扩展方法代替。下面是这个类以前提供的方法定义:

1
2
3
public static MessageBoxResult ShowDialog(this IDialogService service, MessageBoxButton button, string title, object viewModel)
          public static MessageBoxResult ShowDialog(this IDialogService service, MessageBoxButton button, string title, string documentType, object viewModel)
          public static MessageBoxResult ShowDialog(this IDialogService service, MessageBoxButton button, string title, string documentType, object parameter, object parentViewModel)

当前新定义:

1
2
3
4
5
6
public static MessageBoxResult ShowDialog(this IDialogService service, MessageBoxButton dialogButtons, string title, object viewModel)
          public static MessageBoxResult ShowDialog(this IDialogService service, MessageBoxButton dialogButtons, string title, string documentType, object viewModel)
          public static MessageBoxResult ShowDialog(this IDialogService service, MessageBoxButton dialogButtons, string title, string documentType, object parameter, object parentViewModel)
          public static UICommand ShowDialog(this IDialogService service, IList<UICommand> dialogCommands, string title, object viewModel)
          public static UICommand ShowDialog(this IDialogService service, IList<UICommand> dialogCommands, string title, string documentType, object viewModel)
          public static UICommand ShowDialog(this IDialogService service, IList<UICommand> dialogCommands, string title, string documentType, object parameter, object parentViewModel)

IDocumentManagerService 提供的CreateDocument方法,以前的定义方式:

1
IDocument CreateDocument(string documentType, object parameter = null, object parentViewModel = null, bool useParameterAsViewModel = false);

新的定义方式:

1
IDocument CreateDocument(string documentType, object viewModel, object parameter, object parentViewModel);

DocumentManagerServiceExtensions类包含一个扩展 CreateDocument,以前的定义方式:

1
public static IDocument CreateDocument(this IDocumentManagerService service, object viewModel)

在13.1.7,定义方式改为:

1
2
3
4
public static IDocument CreateDocument(this IDocumentManagerService service, object viewModel)
          public static IDocument CreateDocument(this IDocumentManagerService service, string documentType, object viewModel)
          public static IDocument CreateDocument(this IDocumentManagerService service, string documentType, object parameter, object parentViewModel)
          public static IDocument CreateDocument(this IDocumentManagerService service, string documentType, object parameter, object parentViewModel, bool useParameterAsViewModel)

DXMap for WPF

  • 自定义地图颜色的MapColorizer现在需要重载 MapColorizer.GetItemColor(以前是MapColorizer.ColorizeElement)

Map for Windows 8 XAML

  • 自定义地图颜色的MapColorizer现在需要重载 MapColorizer.GetItemColor(以前是MapColorizer.ColorizeElement)

Spreadsheet Document Server

Workbook类的以下事件被删除:

  • ActiveSheetChanging;
  • ActiveSheetChanged;
  • ColumnsRemoved;
  • ColumnsInserted.
  • SelectionChanged;
  • SheetRenaming;
  • SheetRenamed;
  • SheetInserted;
  • SheetRemoved;
  • RowsRemoved;
  • RowsInserted;

另外,提醒大家注意一下DevExpress发现的一个问题。这个bug将会在下一个版本中修复:

  • 如果CopyLocal属性被禁用,XtraReports LightSwitch demo无法在VS2013下运行

DXperience Universal Suite 13.1.7更多详细更新请移步>>

DevExpress更新至13.1.7的更多相关文章

  1. 永久免费开源的卫星地形图地图下载工具更新Somap2.13版本功能更新 更新时间2019年2月22日13:59:05

    一.下载地址 最新版本下载地址:SoMap2.13点击此处下载  二.系统自主开发特色功能展示 1.上百种地图随意下载 高德.百度.arcgis.谷歌.bing.海图.腾讯.Openstreet.天地 ...

  2. IntelliJ IDEA 发布最新版本13.0.1

    难闻转自:慧都控件网 值得高兴的消息,IntelliJ IDEA v13.0.1目前已经发布,相对于IntelliJ IDEA v13而言,此次更新内容,是略微改进和提高了性能,如代码输入变化,及完善 ...

  3. JDBC连接(MySql)数据库步骤,以及查询、插入、删除、更新等十一个处理数据库信息的功能

    主要内容:  JDBC连接数据库步骤. 一个简单详细的查询数据的例子. 封装连接数据库,释放数据库连接方法. 实现查询,插入,删除,更新等十一个处理数据库信息的功能.(包括事务处理,批量更新等) 把十 ...

  4. 继承自 DevExpress 17.2 的自定义控件如何在工具箱显示

    最近把DevExpress版本从13.1升级到了17.2,结果发现继承自DevExpress的自定义控件居然在工具箱中消失了,弄了两天还是没有任何头绪,部分自定义Dev控件可以正常出现,但大部分自定义 ...

  5. 京东饭粒捡漏V1.13

    20180629 更新 V1.131.解决下单异常问题:2.增加秒杀价格:3.增加购买数量: 功能介绍1.京东商城专用,支持饭粒模式下单,自己获得京豆返利 2.捡漏模式:帮助用户监控抢购商品,有库存的 ...

  6. 在Ubuntu18.04上使用Anaconda(python3.7)环境中安装tensorflow1.13.1

    由于清华镜像源迟迟没有更新tensorflow1.13.1导致python3.7不能使用tensorflow 这里有一个解决方法 管理员模式打开(一定要管理员模式 不然会导致权限不足) 输入 pip ...

  7. CobaltStrike3.12/13 破解

    更新3.13破解版 链接: https://pan.baidu.com/s/14e0tpVPzUhiAhYU2_jvBag 提取码: d9uf MacOS客户端: 链接: https://pan.ba ...

  8. 【SSH网上商城项目实战12】添加和更新商品功能的实现

    转自: https://blog.csdn.net/eson_15/article/details/51366370 添加商品部分原理和添加商品类别是一样的,不过要比商品类别复杂,因为商品的属性有很多 ...

  9. App测试从入门到精通之更新测试

    我们都知道,app在使用一段时间,都会有更新,而且更新会不止一次.在实际测试中,关于更新的测试场景也是我们需要重点关注的,接下来我们就看一下关于App的更新测试有哪些测试点我们需要注意: APP更新测 ...

随机推荐

  1. Spring Boot异常处理详解

    在Spring MVC异常处理详解中,介绍了Spring MVC的异常处理体系,本文将讲解在此基础上Spring Boot为我们做了哪些工作.下图列出了Spring Boot中跟MVC异常处理相关的类 ...

  2. Windows Azure Affinity Groups (3) 修改虚拟网络地缘组(Affinity Group)的配置

    <Windows Azure Platform 系列文章目录> 本文介绍的是国内使用世纪互联运维的Azure China 在笔者之前的文章中,我们知道现在微软官方不建议使用Affinity ...

  3. Azure Redis Cache (3) 在Windows 环境下使用Redis Benchmark

    <Windows Azure Platform 系列文章目录> 熟悉Redis环境的读者都知道,我们可以在Linux环境里,使用Redis Benchmark,测试Redis的性能. ht ...

  4. JVM之类加载器下篇

    除了自定义的类加载之外,jvm存在三种类加载器,并以一种父委托的加载机制进行加载. --启动类加载器,又称根加载器,是一个native的方法,使用c++实现.在java中我们用null标识,用于加载j ...

  5. .NET魔法堂:工程构建基石->MSBuild

    一.前言 MSBuild是一个既熟悉又陌生的名字,Visual Studio的项目加载和构建均通过MSBuild来实现.VS中右键打开项目菜单,对应MSBuild的Build目标,对应MSBuild的 ...

  6. Entity Framework 实体框架的形成之旅--几种数据库操作的代码介绍(9)

    本篇主要对常规数据操作的处理和实体框架的处理代码进行对比,以便更容易学习理解实体框架里面,对各种数据库处理技巧,本篇介绍几种数据库操作的代码,包括写入中间表操作.联合中间表获取对象集合.递归操作.设置 ...

  7. 提升VMware虚拟机性能招数

    在VMware虚拟机(VMware Workstation或VMware Server)中我们可以同时运行多个Guest OS,当同时在同一Host OS中运行多台虚拟机时势必会严重影响到Host O ...

  8. C#的变迁史 - C# 1.0篇

    C#与.NET平台诞生已有10数年了,在每次重大的版本升级中,微软都为这门年轻的语言添加了许多实用的特性,下面我们就来看看每个版本都有些什么.老实说,分清这些并没什么太大的实际意义,但是很多老资格的. ...

  9. SSH实例(1)

    首先,配置struts.xml文件: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE st ...

  10. Pydev Debugger not working with breakpoints

    I have a simple test module: print("fish")print("sticks")It runs pretty fast as ...