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. WIN7 共享网络方法

    WIN7 共享网络方法 第一步: 按WIN+R调出“运行”栏,在“运行”菜单栏输入“cmd”,出现命令提示符,输入命令“netsh wlan set hostednetwork mode=allow ...

  2. 【Android】Volley做网络请求的几种用法

    前言: 最近在将自己写的烂代码重构,以前使用的网络请求全是基于apache的HttpClient,简单使用还好,使用多了发现重复代码太多,而且每次使用都很繁琐,因此在网上找了半天网络请求的相关类库,最 ...

  3. Python 3.0(一) 简介

    Python 3.0(一) 简介 [目录] 1.简介 2.python特点 3.安装 简介: Python是可以称得上即简单又功能强大的少有的语言中的一种.你将会惊喜地发现,专注于问题的解决方案而不是 ...

  4. java类加载器-Tomcat类加载器

    在上文中,已经介绍了系统类加载器以及类加载器的相关机制,还自定制类加载器的方式.接下来就以tomcat6为例看看tomat是如何使用自定制类加载器的.(本介绍是基于tomcat6.0.41,不同版本可 ...

  5. jQuery DOM操作

    对节点的操作 查找节点 查找节点可以直接利用jQuery选择器来完成,非常便利. 插入节点 jQuery提供了8种插入节点的方法. 序号 方法 描述 实例 1 append() 向每个匹配的元素内部追 ...

  6. 第2/24周 页_SQL Server 中数据存储的基本单位

    上周通过探讨SQL Server如何执行一个查询奠定了基础.我也在那里提到页是8kb的缓存.今天我们对页进行进一步集中探讨,从性能调优角度挖掘出更多的细节. 页是SQL Server的基础,在SQL ...

  7. Twitter Bootstrap深受开发者喜爱的11大理由

    Bootstrap,作为创新技术框架,使开发者.设计者更容易.更快捷.更出色地完成网站及应用的搭建工作.如果你还没有使用Twitter Bootstrap,建议你去了解一下.Bootstrap为开发者 ...

  8. 【转】NoSQL初探之人人都爱Redis:(2)Redis API与常用数据类型简介

    一.Redis API For .Net 首先,不得不说Redis官方提供了众多的API开发包,但是目前Redis官方版本不支持.Net直接进行连接,需要使用一些第三方的开源类库.目前最流行的就是Se ...

  9. Swift 自定义Subscript

    Swift可以方便给自定义类加下标,其中参数和返回值可以在类里定义为任意类型: subscript(parameters) -> ReturnType { get { //return some ...

  10. C#DateTimePicker控件问题

    DateTimPicker控件在遇到29这样特殊的日期,选择时可能会出现 解决方案:在属性中把Value值设置为除29日外的其他日期或者在代码中直接设置Value值:DateTimePicker1 = ...