上個月初 DevExpress 發(fā)布了它在2013年的最后一個版本13.2.5,時隔一個月之后,DevExpress即發(fā)布了2014年的首個新版本13.2.6。今天小編就為你全面解析一下本次更新的一些重大變化:
-
DevExpress.CodeRush.UserControls.EmphasisCallback - 委托的參數(shù)列表已經(jīng)發(fā)生了變化
:
EmphasisCallback委托的"int column" 參數(shù)已經(jīng)被EmphasisCallbackArgs參數(shù)替代;
DXControls (XPF Common)
-
BindablePropertyAttribute已經(jīng)從DevExpress.Xpf.Mvvm.DataAnnotations.Native 命名空間中移到了DevExpress.Xpf.Mvvm.DataAnnotations;POCO擴展方法已經(jīng)移到了PropertyMetadataBuilder類
DXDocking for WPF
-
棄用DockLayoutManager.DestroyLastDocumentGroup屬性
-
刪除了IModelLookupViewItem接口,AllowClear屬性從刪除的接口中移到了IModelCommonMemberViewItem;
-
XAF.EF已經(jīng)遷移到了EF6,從13.2.6開始,不再支持EF5。XAF Code First applications不再需要AddExportedTypeHelper類,目前的Code First實體會自動聚集。
PDF Viewer for WPF
-
MVVM發(fā)生變化。LoadDocument方法已經(jīng)由DocumentSource屬性替代,新增OpenDocument方法。
ReportViewer for ASP.NET
DevExpress.Web.Mvc.DocumentViewerSettings類的一些方法已經(jīng)被重命名:
-
WithRemoteSourceReportServerConfiguration -> SetRemoteSourceReportServerConfiguration
-
WithRemoteSourceReportServerSettings -> SetRemoteSourceReportServerConfiguration
-
WithRemoteSourceWcfReportServiceConfiguration -> SetRemoteSourceReportServerConfiguration
-
WithRemoteSourceWcfReportServiceSettings -> SetRemoteSourceReportServerConfiguration
系統(tǒng)PrintDialog已經(jīng)由一個自定義對話框替換,如果要繼續(xù)顯示這個系統(tǒng)對話框,使用以下代碼:
[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字段已經(jīng)重命名為Default。如設置滾動條的可見性為Default會應用相應的文檔選項。
標簽:
DevExpress
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請務必注明出處、不得修改原文相關鏈接,如果存在內(nèi)容上的異議請郵件反饋至chenjj@fc6vip.cn
文章轉(zhuǎn)載自:慧都控件