彩票走势图

.NET界面组件DXperience Universal Suite 13.1.7发布

原创|产品更新|编辑:郝浩|2013-09-22 09:52:59.000|阅读 403 次

概述:.NET界面组件DXperience Universal Suite最新发布13.1.7版,多个属性的定义方式发生变化,另外还有大量bug修复。

# 慧都年终大促·界面/图表报表/文档/IDE等千款热门软控件火热促销中 >>

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

>>DXperience Universal Suite13.1.7下载

DXControls for WPF

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

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

新的定义方式:

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

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

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)

当前新定义:

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方法,以前的定义方式:

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

新的定义方式:

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

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

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

在13.1.7,定义方式改为:

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下运行

>>


标签:

本站文章除注明转载外,均为本站原创或翻译。欢迎任何形式的转载,但请务必注明出处、不得修改原文相关链接,如果存在内容上的异议请邮件反馈至chenjj@pclwef.cn

文章转载自:慧都控件

为你推荐

  • 推荐视频
  • 推荐活动
  • 推荐产品
  • 推荐文章
  • 慧都慧问
扫码咨询


添加微信 立即咨询

电话咨询

客服热线
023-68661681

TOP