原創|產品更新|編輯:我只采一朵|2014-02-12 09:51:09.000|閱讀 747 次
概述:DevExpress更新至v13.2.7,多個控件有重大變化。
# 界面/圖表報表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
.NET界面控件 DevExpress 昨日發布v13.2.7,新版本又有多個重大變化,如XtraSpellChecker的DictionaryHelper構造函數更新,還有一些屬性更改了名稱。使用新版本的朋友一定要注意這些調整:
ASPxGridView 和 Editors Suite
DXBars 和 DXRibbon Common (XPF)
DXBars for WPF
鍵盤導航操作發生了變化:
XtraMap
XtraPrinting Library
XtraSpellChecker
舊的構造函數:
[C#]
public DictionaryHelper( DictionaryCollection spellCheckerDictionaries, DictionaryCollection sharedDictionaries, CultureInfo culture, bool useShared);
[VB.NET]
Public Sub New(spellCheckerDictionaries As DictionaryCollection, _ sharedDictionaries As DictionaryCollection, culture As CultureInfo, useShared As Boolean) End Sub
新的構造函數:
[C#]
public DictionaryHelper(SpellCheckerBase spellChecker, DictionaryCollection sharedDictionaries);
[VB.NET]
Public Sub New(spellChecker As SpellCheckerBase, sharedDictionaries As DictionaryCollection) End Sub
XtraSpreadsheet
要更新舊的郵件合并模板,可參考以下代碼:
先前的:
[C#]
templateWorkbook.DefinedNames.Add("MAILMERGEMODE", "Documents");
[VB.NET]
templateWorkbook.DefinedNames.Add("MAILMERGEMODE", "Documents")
當前的:
[C#]
templateWorkbook.DefinedNames.Add("MAILMERGEMODE", "\"Documents\"");
[VB.NET]
templateWorkbook.DefinedNames.Add("MAILMERGEMODE", """Documents""")
-更改郵件合并模式,在SpreadsheetControl的郵件合并標簽中選擇需要的模式Mode。要更改數據成員,點擊Master-Detail按鈕并選擇Data Member項,彈出Data Member對話框。
-在Excel中,通過Name Manager對話框為DETAILDATAMEMBER 和 MAILMERGEMODE添加雙引號。
參考代碼:
[C#]
public interface StyleCollection { void Hide(Style style); }
[VB.NET]
Public Interface StyleCollection Sub Hide(style As Style) End Interface
本站文章除注明轉載外,均為本站原創或翻譯。歡迎任何形式的轉載,但請務必注明出處、不得修改原文相關鏈接,如果存在內容上的異議請郵件反饋至chenjj@fc6vip.cn
文章轉載自:慧都控件