DevExpress控件使用交流,DevExpress中国社区Dev联系电话 联系电话:023-68661681

DXperience Universal Suite发布v13.2.7

来源:慧都控件网   发布时间:2014-02-25   浏览:2370次

.NET界面控件 DevExpress 发布v13.2.7,新版本又有多个重大变化,如XtraSpellChecker的DictionaryHelper构造函数更新,还有一些属性更改了名称。使用新版本的朋友一定要注意这些调整:

ASPxGridView 和 Editors Suite

  • ASPxValidationSummary – ErrorText属性值依据编辑器的EncodeHtml属性进行编码;
  • Text Box Editors – ErrorText属性值依据EncodeHtml属性进行编码;

DXBars 和 DXRibbon Common (XPF)

  • 旧的BarManager.ColorizeGlyph由BarManager.AllowGlyphTheming属性替换;
  • 旧的BarItem.ColorizeGlyph由BarItem.AllowGlyphTheming属性替换;

DXBars for WPF

键盘导航操作发生了变化:

  • 只有在按下ALT键之后bar上的键盘导航才可用;
  • 如果BarEditItem的编辑器是鼠标聚焦的,那导航键不会由BarManager处理,使用这些键时当前选项不会发生变化。不过ESC键仍然可以返回到键盘之前聚焦的元素。PopupControlContainer.IgnoreMenuDropAlignment属性不再是虚拟的;

XtraMap

  • DevExpress.XtraMap.DrawMapItemHandler重命名为DevExpress.XtraMap.DrawMapItemEventHandler。

XtraPrinting Library

  • RibbonControl - 默认操作会一直显示页面组,并带有一些不可见项。这可能会导致RibbonControl显示更多的空页面组。要隐藏这些组,启用AutoHideEmptyItems属性即可。

XtraSpellChecker

  • DictionaryHelper的构造函数发生了变化。

旧的构造函数:

[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

  • DETAILDATAMEMBER 和 MAILMERGEMODE的邮件合并参数的定义名称发生了变化。

要更新旧的邮件合并模板,可参考以下代码:

先前的:

[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添加双引号。

  • StyleCollection类的Remove方法重命名为Hide。

参考代码:

[C#]

public interface StyleCollection { void Hide(Style style); }

[VB.NET]

Public Interface StyleCollection Sub Hide(style As Style) End Interface
  • SpreadsheetControl.CellEndEdit事件的SpreadsheetCellValidatingEventArgs.TextValue属性重命名为EditorText.

本站文章除注明转载外,均为本站原创或翻译
欢迎任何形式的转载,但请务必注明出处,尊重他人劳动成果
转载请注明:文章转载自:DevExpress控件中文网 [https://www.devexpresscn.com/]
本文地址:https://www.devexpresscn.com/post/504.html
在线
客服
微信
QQ 电话
023-68661681
返回
顶部