上個月初 DevExpress 發布了它在2013年的最后一個版本13.2.5,時隔一個月之后,DevExpress即發布了2014年的首個新版本13.2.6。今天小編就為你全面解析一下本次更新的一些重大變化:
-
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屬性
-
刪除了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#]
static void Main(string[] args) {
DevExpress.XtraEditors.Preview.PrintDialogRunner.Instance = new
DevExpress.XtraEditors.Preview.SystemPrintDialogRunner();
// ...
}
[VB.NET]
Shared Sub Main(ByVal args() As String)
DevExpress.XtraEditors.Preview.PrintDialogRunner.Instance = _
New DevExpress.XtraEditors.Preview.SystemPrintDialogRunner()
' ...
End Sub
XtraSpreadsheet
-
SpreadsheetScrollbarVisibility.Auto字段已經重命名為Default。如設置滾動條的可見性為Default會應用相應的文檔選項。
標簽:
DevExpress
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn
文章轉載自:慧都控件