DevExpress 13.2.8发布

AI权益加码!Claude Code、Cursor等20+工具免费用! 购周边限时加赠Coding Plan Lite,畅享主流AI工具!学习进阶更高效! 阅读详情

上周DevExpress又发布13.2.8版本了,ASP.NET MVC和ASP.NET中部分字段和属性被修改,Dashboard导出的目标元素的过滤值和电子表格相关控件也有所修改。

ASP.NET MVC 导航、布局和多用途扩展。

ClientEnabled 和 ClientVisible 字段已经被从MenuItemState、NavBarItemState 和 TreeViewNodeState 类中移除。

ASP.NET 导航、布局和多用途控件。

相关于ASPxMenu gutter的属性行为已经被改变。

现在,gutter不再影响项目图像和文本位置,如下属性被废弃:

  • ASPxMenuBase.GutterImageSpacing;
  • MenuStyle.GutterImageSpacing;
  • ASPxMenuBase.GutterColor;
  • MenuStyle.GutterColor.
Coded UI

CodedUIExtension.DXTestControls.AppearanceObject 类已经被移动到DevExpress.CodedUIExtension.DXTestControls.v13_2 namespace。

该变化避免当在一个项目上使用几个DevExpress Coded UI扩展程序集产生类型冲突。

为了能够编译一些项目,有必要手动在现有测试中指定新的命名空间。

Dashboard

  • 被运用于导出的目标元素的过滤值不再包含于元素命名中。
  • ASPxDashboardViewer.ExportOptions.DashboardItemOptions 和 DashboardViewer.PrintingOptions.DashboardItemOptions 属性已经被标示为废弃。
  • DashboardDesigner.ConfirmSaveOnClose 属性已经废弃。当关闭控制面板而定制设计的过程会有较大提升。
  • DashboardDesigner.ShowSaveConfirmationDialog 方法已经废弃,取而代之地,使用 DashboardDesigner.CloseDashboard 方法。当Dashboard Designer 的父表单关闭时,该方法被自动调用。但是,如果在一个可以由终端用户关闭的容器内使用Designer,则需要在容器关闭之前手动调用CloseDashboard()方法。
    如果Designer可以被关闭,则CloseDashboard方法返回true;如果终端用户取消关闭控制面板,则该方法返回false。
DXControls for WPF

IDocumentViewModel.Close 方法已经改变,即使IDocument.DestroyOnClose 属性被禁用,它也会被调用。

为回到以前的行为,你可以手动用 IDocumentManagerService对象检查IDocument.DestroyOnClose 属性值,如以下代码所示:

用POCO视图模式:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[C#]
[POCOViewModel]
 
               public class MainViewModel : IDocumentViewModel {
 
                  bool IDocumentViewModel.Close() {
 
                      if (!DocumentManagerService.FindDocument( this ).DestroyOnClose) return true ;
 
                      // ...
 
                      return true ;
 
                  }
 
                  protected virtual IDocumentManagerService DocumentManagerService { get { return null ; } }
 
               }
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
[VB.NET]
<pocoviewmodel> _
 
               Public Class MainViewModel
 
                  Implements IDocumentViewModel
 
                  Private Function IDocumentViewModel_Close() As Boolean Implements IDocumentViewModel.Close
 
                      If Not DocumentManagerService.FindDocument( Me ).DestroyOnClose Then
 
                          Return True
 
                      End If
 
                      ' ...
 
                      Return True
 
                  End Function
 
                  Protected Overridable ReadOnly Property DocumentManagerService() As IDocumentManagerService
 
                      Get
 
                          Return Nothing
 
                      End Get
 
                  End Property
 
               End Class
 
</pocoviewmodel>

不用POCO视图模式:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
[C#]
public class MainViewModel : ViewModelBase, IDocumentViewModel {
 
                  bool IDocumentViewModel.Close() {
 
                      if (!ServiceContainer.GetService<idocumentmanagerservice>().FindDocument( this ).DestroyOnClose) return true ;
 
                      // ...
 
                      return true ;
 
                  }
 
               } </idocumentmanagerservice>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[VB.NET]
Public Class MainViewModel
 
                  Inherits ViewModelBase
 
                  Implements IDocumentViewModel
 
                  Private Function IDocumentViewModel_Close() As Boolean Implements IDocumentViewModel.Close
 
                      If Not ServiceContainer.GetService(Of IDocumentManagerService)().FindDocument( Me ).DestroyOnClose Then
 
                          Return True
 
                      End If
 
                      ' ...
 
                      Return True
 
                  End Function
 
               End Class

DXSpreadsheet for WPF

SpreadsheetControl.Options 属性已经改变,返回的是DevExpress.Xpf.Spreadsheet.SpreadsheetControlOptions 对象,而非DevExpress.Spreadsheet.DocumentOptions 类实例。

XtraSpreadsheet

DevExpress.Spreadsheet命名空间——ConditionalFormattingExtremumValue、ConditionalFormattingInsideValue 和 ConditionalFormattingIconSetInsideValue 界面已经被废弃。

ConditionalFormattingCollection 集的CreateExtremumValue/CreateInsideValue 和CreateIconSetInsideValue 方法已经被废弃。

从前:

1
2
3
4
5
6
7
8
9
10
[C#]
ConditionalFormattingExtremumValue CreateExtremumValue(ConditionalFormattingValueType valueType, string value);
 
           ConditionalFormattingExtremumValue CreateExtremumValue();
 
           ConditionalFormattingInsideValue CreateInsideValue(ConditionalFormattingValueType valueType, string value);
 
           ConditionalFormattingIconSetInsideValue CreateIconSetInsideValue(ConditionalFormattingValueType valueType,
 
              string value, ConditionalFormattingValueOperator comparisonOperator);

现在:

1
2
3
4
5
6
7
8
[C#]
ConditionalFormattingValue CreateValue(ConditionalFormattingValueType valueType, string value);
 
           ConditionalFormattingValue CreateValue(ConditionalFormattingValueType valueType);
 
           ConditionalFormattingIconSetValue CreateIconSetValue(ConditionalFormattingValueType valueType,
 
              string value, ConditionalFormattingValueOperator comparisonOperator);

ConditionalFormattingCollection 集的AddColorScale2ConditionalFormatting、AddColorScale3ConditionalFormatting、AddDataBarConditionalFormatting 和 AddIconSetConditionalFormatting 方法已经被改变。

从前:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[C#]
ColorScale2ConditionalFormatting AddColorScale2ConditionalFormatting(Range range,
 
              ConditionalFormattingExtremumValue minPoint, Color minPointColor, ConditionalFormattingExtremumValue maxPoint, Color maxPointColor);
 
           ColorScale3ConditionalFormatting AddColorScale3ConditionalFormatting(Range range,
 
              ConditionalFormattingExtremumValue minPoint, Color minPointColor, ConditionalFormattingInsideValue midPoint,
 
              Color midPointColor, ConditionalFormattingExtremumValue maxPoint, Color maxPointColor);
 
           DataBarConditionalFormatting AddDataBarConditionalFormatting(Range range, ConditionalFormattingExtremumValue lowBound,
 
              ConditionalFormattingExtremumValue highBound, Color color);
 
           IconSetConditionalFormatting AddIconSetConditionalFormatting(Range range, IconSetType iconSet,
 
              ConditionalFormattingIconSetInsideValue[] points);

现在:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
[C#]
ColorScale2ConditionalFormatting AddColorScale2ConditionalFormatting(Range range, ConditionalFormattingValue minPoint,
 
              Color minPointColor, ConditionalFormattingValue maxPoint, Color maxPointColor);
 
           ColorScale3ConditionalFormatting AddColorScale3ConditionalFormatting(Range range, ConditionalFormattingValue minPoint,
 
              Color minPointColor, ConditionalFormattingValue midPoint, Color midPointColor, ConditionalFormattingValue maxPoint, Color maxPointColor);
 
           DataBarConditionalFormatting AddDataBarConditionalFormatting(Range range, ConditionalFormattingValue lowBound,
 
              ConditionalFormattingValue highBound, Color color);
 
           IconSetConditionalFormatting AddIconSetConditionalFormatting(Range range, IconSetType iconSet, ConditionalFormattingIconSetValue[] points);

SpreadsheetBehaviorOptions.Printing 属性已经被 SpreadsheetBehaviorOptions.Print 属性取代。

带有Bar UI的标准打印预览窗口已经被带Ribbon UI的窗口取代。

默认情况下,当终端用户在SpreadsheetControl的UI中点击Print Preview按钮时,Ribbon Print Preview 被调用。

为了让带有Bar UI的打印预览窗口对于终端用户可用,禁用 SpreadsheetPrintOptions.RibbonPreview 属性。

为了在代码中调用Ribbon Print Preview形式,需使用SpreadsheetControl.ShowRibbonPrintPreview 方法。

下载DXperience Universal Suite

转自慧都控件

DevExpress 13.1.4 补丁发布及安装指南 本文还有配套的精品资源,点击获取 简介:DevExpress 13.1.4 补丁是为2013发布DevExpress组件集13.1.4版本提供的更新。补丁通常包括错误修复、性能优化、功能增强、兼容性更新和安全更新。"DevExpress.Patch.exe"作为补丁安装程序,旨在将DevExpress版本升级到最新状态。本文章提供补丁的详细介绍和安装指导,帮助开发者提升... 阅读详情

相关推荐

Devexpress13.2全中文,含XAF、设计时刻、WinForm、ASP、WPF

本资源为官方13.2.6制作,适用13.2所有版本。GAC后可在设计时刻中文化,运行时刻汉化与官方汉化一致。采用工具进行了分析全部汉化。本人制作。

DevExpress 13.2.7的一些调整

.NET界面控件 DevExpress 发布v13.2.7,新版本又有多个重大变化,使用新版本的朋友一定要注意这些调整: ASPxGridView 和 Editors Suite ASPxValidationSummary – ErrorText属性值依据编辑器的EncodeHtml属性进行编码;Text Box Editors – ErrorText属性值依据EncodeHtml属性

wuyuanjingni的专栏 2093

DevExpress破解(13.1和13.2均可用)

完美破解,DevExpressComponents-13.2(13.1和13.2均可用), 直接点击执行文件即可。运行的时间有点长,耐心等待下。

DevExpress 13.2.6源码、安装包、汉化包下载和教程,devexpress13.2.6

DevExpress比DotNetBar控件成熟很多,当然源码是公开的,但是最新版本需要9K多。如果不是土豪,用已经破解的版本或者自己拿源码编译一份就可以了,老外就是这么好。 首先在这里下载然后解压准备好这两个文件(总共600M):http://yun.baidu.com/s/1dD06VBV DevExpressComponents-13.2.6.exe和DevExpress.Pat

飞鸟的博客 3202

DevExpress发布13.2.9版本啦

Dashboard DashboardViewer.DashboardLoaded现在会在数据加载之前启用; WinForms 和 ASP.NET Dashboard Viewers不再请求没有应用在仪表盘上的数据源; DXPivotGrid for WPF Pivo...

chongyiqian8646的博客 264

界面控件DevExpress VCL v25.2新功能亮点:支持RAD Studio 13

DevExpress VCL v25.2已于日前正式发布,新版本官宣支持RAD Studio 13发布全新的ExpressReports组件等,欢迎下载官方正式版体验!

Aevget的博客 503

DevExpress 13.2.6

上个月初 DevExpress 发布了它在2013年的最后一个版本13.2.5,时隔一个月之后,DevExpress发布2014年的首个新版本13.2.6。 CodeRush for Visual Studio .NET DevExpress.CodeRush.UserCo...

chongyiqian8646的博客 291

DevExpress 13.2.6的一些变化

CodeRush for Visual Studio .NET DevExpress.CodeRush.UserControls.EmphasisCallback - 委托的参数列表已经发生了变化 : EmphasisCallback委托的"int column" 参数已经被EmphasisCallbackArgs参数替代; DXControls (XPF Common) Bin

wuyuanjingni的专栏 2753

DevExpress昨天发布13.1.6版本

DevExpress官方最新消息,.NET用户界面组件DXperience Universal Suite 13.1.6发布!此版本仍然是在2013版本的基础上进行修复和改进,13.1.6有许多控件有重大变化,在此提醒正在使用DXperience相关控件和即将使用Dev控件的朋友,一定要注意以下这些更新: 重大变化: PDF Viewer PdfViewer类的虚拟OnDocume

wuyuanjingni的专栏 2840

Devexpress13.2.6安装包 + 破解补丁

devexpress安装包 + 破解补丁,同时包含安装说明。请先安装IDE工具,再安装DEV

DevExpress.Data.v13.2.dll

DevExpress.Data.v13.2DevExpress.Data.v13.2.dll

DevExpress Sources 13.2.9 源码 Part1 共3部分

DevExpress Sources 13.2.9 源码 Part1 共3部分

DevExpress DXperience历史版本下载地址大全

DevExpress DXperience历史版本下载地址大全

Devexpress VCL Build v2013 vol 13.2.2 发布

devexpress 2013 的第二个大版本出来了,一如既往, 基本上还是一个大补丁包。各位看官,自己看。 What's New in 13.2.2 (VCL Product Line) New Major Features in 13.2 What's New in VCL Products 13.2 Breaking Changes To learn ab...

weixin_30767921的博客 816

DevExpress VCL v25.2新功能预览 - 发布全新基于AI的报表平台

本文将为大家概述DevExpress VCL 预计在2025年12发布的新版本特性/功能,希望大家持续关注我们获取第一手更新资讯~

Aevget的博客 1274

DevExpress更新至13.1.7

DevExpress下的.NET界面组件 DXperience Universal Suite 最新发布13.1.7版,多个属性的定义方式发生变化,另外还有大量的bug修复。使用DevExpress朋友一定要注意以下更新: >>DXperience Universal Suite13.1.7下载 DXControls for WPF IDialogService.ShowDialog 方法的

wuyuanjingni的专栏 2979

DevExpress VCL 13.1.2 发布

DevExpress VCL 的2013 第一个公开版发布, 基本上就是一些维护,没有大的变化,也没有FM 的支持。 What's New in DevExpress VCL 13.1.2 Release Notes Feature Highlights To learn about feature highlights in this version, please ref...

weixin_30247307的博客 650

DevExpress的各种版本支持

DevExpress 各版本介绍 DXperience 6.X DXperience 6.3.9 DXperience 6.2.10 DXperience 6.1.10 DXperience 7.X DXperience 7.3.13 (.NET Framework2.0+) DXperience 7.2.11 (.NET Framework2.0/3.0) DXper...

qq_37504026的博客 2838
上一篇: 移动开发工具devextreme官方视频教程
下一篇: 九款WPF界面控件的优势总结
梦洋
博客等级 码龄14年 14粉丝 3原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值