DevExpress昨天发布13.1.6版本

据DevExpress官方最新消息,.NET用户界面组件DXperience Universal Suite 13.1.6发布!此版本仍然是在2013版本的基础上进行修复和改进,13.1.6有许多控件有重大变化,在此提醒正在使用DXperience相关控件和即将使用Dev控件的朋友,一定要注意以下这些更新:

重大变化:


PDF Viewer

  • PdfViewer类的虚拟OnDocumentLoaded方法重命名为OnDocumentChanged.

XtraSpreadSheet

  • Range.GetReferenceR1C1方法的声明从ange.GetReferenceR1C1(ReferenceElement flags) 变为 Range.GetReferenceR1C1(Cell baseCell).
  • 删除了Worksheet.MaxColumnCount 和 Worksheet.MaxRowCount属性,以SpreadsheetControl.WorksheetDisplayArea 属性代替。

DXPropertyGrid for WPF

当定义PropertyDefinition.Path去指定某个嵌套对象的属性时,使用‘*’代替‘.’表示未知属性占位符。PropertyGridControl中如果只显示ListBox.Items集合和集合项中的Content属性,要进行以下设置:

  • 为WithPropertyDefinitions设置ShowProperties选项;
  • 定义CollectionDefinition的Path为'Items';
  • 定义PropertyDefinition的Path为'*.Content',星号字符‘*’标识一个无常量名的索引器[]。嵌套属性的路径在不同的集合项下是不同的,如 '[0].Content', '[1].Content'等。

下面这个例子是PropertyGridControl绑定到一个列表框ListBox控件:

1
2
3
4
5
6
7
8
9
10
11
12
13
< dxprg:PropertyGridControl ShowProperties = "WithPropertyDefinitions" >
                        < dxprg:PropertyGridControl.SelectedObject >
                            < ListBox >
                                < ListBox.Items >
                                    < ListBoxItem Content = "First" />
                                    < ListBoxItem Content = "Second" />
                                </ ListBox.Items >
                            </ ListBox >
                        </ dxprg:PropertyGridControl.SelectedObject >
                        < dxprg:CollectionDefinition Path = "Items" >
                            < dxprg:PropertyDefinition Path = "*.Content" />
                        </ dxprg:CollectionDefinition >
                    </ dxprg:PropertyGridControl >

DXGrid for WPF

  • 从13.1.6版本开始,GridControl只对可见行创建自动节点。

DXControls for WPF

  • 命令行处理的实现发生了变化,订阅IComand.CanExecuteChanged事件会触发订阅CommandManager.RequerySuggested事件,调用DelegateCommand.RaiseCanExecuteChanged方法同样也会调用CommandManager.InvalidateRequerySuggested方法。

DXControls (XPF Common)

  • IDocumentManagerService接口发生变化。 CreateDocument 方法新增一个参数。

旧版本中的方法声明:

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

新版本的声明:

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

只有IDocument接口的自定义实现需要注意更改。

Dashboard

Date group间隔格式类型的本地化字符串更改了IDs。

以下这些字符串弃用:

  • DashboardWinStringId.DateTimeFormatDateTimeFormatDefaultCaption
  • DashboardWinStringId.DateTimeFormatDateTimeFormatLongCaption
  • DashboardWinStringId.DateTimeFormatDateTimeFormatShortCaption

以下面这些标识符代替:

  • DashboardWinStringId.DateTimeFormatDateFormatDefaultCaption
  • DashboardWinStringId.DateTimeFormatDateFormatLongCaption
  • DashboardWinStringId.DateTimeFormatDateFormatShortCaption

除了以上这点变化外,新版本Dashboard的DataDashboardItem.DataSource属性可以设置为Null值,DataItemDateTimeFormat.DateFormat属性的类型从DateTimeFormat变为DateFormat。

另外,DevExpress 13.1.6还有大量的Bug修复和小的改进。其中修复最多的有ASP.NET导航、布局控件,CodeRush for Visual Studio .NET,eXpressApp Framework,XtraBars Suite和XtraReports Suite等。查看更多详细更新请移步>>

>>DevExpress 13.1.6下载

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值