DevExpress 13.2.6的一些变化

来源:互联网 发布:js改变css属性display 编辑:程序博客网 时间:2024/05/02 02:11

CodeRush for Visual Studio .NET

  • DevExpress.CodeRush.UserControls.EmphasisCallback - 委托的参数列表已经发生了变化

    EmphasisCallback委托的"int column" 参数已经被EmphasisCallbackArgs参数替代;

DXControls (XPF Common)

  • BindablePropertyAttribute已经从DevExpress.Xpf.Mvvm.DataAnnotations.Native 命名空间中移到了DevExpress.Xpf.Mvvm.DataAnnotations;POCO扩展方法已经移到了PropertyMetadataBuilder类

DXDocking for WPF

  • 弃用DockLayoutManager.DestroyLastDocumentGroup属性

eXpressApp Framework

  • 删除了IModelLookupViewItem接口,AllowClear属性从删除的接口中移到了IModelCommonMemberViewItem;
  • XAF.EF已经迁移到了EF6,从13.2.6开始,不再支持EF5。XAF Code First applications不再需要AddExportedTypeHelper类,目前的Code First实体会自动聚集。

PDF Viewer for WPF

  • MVVM发生变化。LoadDocument方法已经由DocumentSource属性替代,新增OpenDocument方法。

ReportViewer for ASP.NET

DevExpress.Web.Mvc.DocumentViewerSettings类的一些方法已经被重命名:

  • WithRemoteSourceReportServerConfiguration -> SetRemoteSourceReportServerConfiguration
  • WithRemoteSourceReportServerSettings -> SetRemoteSourceReportServerConfiguration
  • WithRemoteSourceWcfReportServiceConfiguration -> SetRemoteSourceReportServerConfiguration
  • WithRemoteSourceWcfReportServiceSettings -> SetRemoteSourceReportServerConfiguration

系统PrintDialog已经由一个自定义对话框替换,如果要继续显示这个系统对话框,使用以下代码:

[C#]

1
2
3
4
5
static void Main(string[] args) {
DevExpress.XtraEditors.Preview.PrintDialogRunner.Instance =new
DevExpress.XtraEditors.Preview.SystemPrintDialogRunner();
// ...
}

[VB.NET]

1
2
3
4
5
Shared Sub Main(ByValargs() As String)
DevExpress.XtraEditors.Preview.PrintDialogRunner.Instance = _
New DevExpress.XtraEditors.Preview.SystemPrintDialogRunner()
' ...
End Sub

 

XtraSpreadsheet

  • SpreadsheetScrollbarVisibility.Auto字段已经重命名为Default。如设置滚动条的可见性为Default会应用相应的文档选项。

DevExpress 13.2.6下载

转自慧都控件网 http://www.evget.com/article/2014/1/8/20368.html

0 0
原创粉丝点击