DevExpress 13.2.7的一些调整

.NET界面控件 DevExpress 发布v13.2.7,新版本又有多个重大变化,使用新版本的朋友一定要注意这些调整:

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 13.2.7下载

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值