CrystalReportViewer 成员

CrystalReportViewer 成员

Visual Studio 2008

提供修改或获取有关 CrystalReportViewer 控件如何显示和起作用的信息的属性、方法和事件。

下列表格列出了 CrystalReportViewer 类型公开的成员。

 属性说明
Public propertyActiveViewIndex 获取或设置 CrystalReportViewer 控件中活动视图的索引。
Public propertyBackColor 已覆盖。 获取或设置控件的背景颜色。
Public propertyBackgroundImage 已覆盖。 获取或设置控件中显示的背景图像。
Public propertyBackgroundImageLayout 已覆盖。 获取或设置在 System.Windows.Forms.ImageLayout 枚举中定义的背景图像布局。
Public propertyDisplayBackgroundEdge 确定报表是否偏移其视图窗口的边缘。
Public propertyDisplayGroupTree 获取或设置树视图是可见还是隐藏。
Public propertyDisplayStatusBar 获取或设置状态栏是可见的还是隐藏的。
Public propertyDisplayToolbar 获取或设置工具栏是可见还是隐藏。
Public propertyEnableDrillDown 获取或设置用户是否可以向下钻取到该报表中。
Public propertyEnableToolTips 获取或设置是否在报表查看器中显示工具提示。
Public propertyEnterpriseLogon 获取或设置企业报表的登录信息。
Public propertyLogOnInfo 获取或设置 TableLogOnInfos 集合。
Public propertyParameterFieldInfo 获取或设置参数字段集合。
Public propertyReportSource 将报表设置为绑定到 CrystalReportViewer 控件。
Public propertyReportSourceClassFactoryName 获取或设置创建内部 ReportSource 对象所需的信息。
Public propertyRightToLeft 已覆盖。 获取或设置文本是否从右到左显示,比如使用“希伯来语”或“阿拉伯语”字体时的情况。
Public propertySelectionFormula 获取或设置报表的记录选定公式。
Public propertyShowCloseButton 获取或设置 CrystalReportViewer 控件工具栏是否有用于关闭报表页面的按钮。
Public propertyShowExportButton 获取或设置 CrystalReportViewer 控件工具栏是否有用于导出的按钮。
Public propertyShowGotoPageButton 获取或设置 CrystalReportViewer 控件工具栏是否有用于指定页码的按钮。
Public propertyShowGroupTreeButton 获取或设置 CrystalReportViewer 控件工具栏是否有用于显示或隐藏组树的按钮。
Public propertyShowPageNavigateButtons 获取或设置 CrystalReportViewer 控件工具栏是否有用于页面导航的按钮。
Public propertyShowPrintButton 获取或设置工具栏上的打印按钮是可见还是隐藏。
Public propertyShowRefreshButton 获取或设置工具栏上的刷新按钮是可见还是隐藏。
Public propertyShowTextSearchButton 获取或设置工具栏上的搜索按钮是可见还是隐藏。
Public propertyShowZoomButton 获取或设置工具栏上的缩放因数列表是可见还是隐藏。
Public propertyViewCount 获取 CrystalReportViewer 控件中的视图个数。
Public propertyViewTimeSelectionFormula 获取或设置记录选定公式以过滤报表当前使用的数据。
Top

 方法说明
Public methodCloseView 关闭 CrystalReportViewer 控件中的视图选项卡。
Public methodDrillDownOnGroup 在组上向下钻取。
Public methodExportReport 导出 CrystalReportViewer 控件中显示的报表。
Public methodGetCurrentPageNumber 获取报表的当前页码。
Public methodPrintReport 打印 CrystalReportViewer 控件中显示的报表。
Public methodRefreshReport 刷新 CrystalReportViewer 控件中显示的报表。
Public methodSearchForText 搜索报表以查找给定文本。
Public methodShowFirstPage 显示报表的第一页。
Public methodShowGroupTree 在 CrystalReportViewer 控件中显示组树。
Public methodShowLastPage 显示报表的最后一页。
Public methodShowNextPage 显示报表的下一页。
Public methodShowNthPage 显示报表的指定页。
Public methodShowPreviousPage 显示报表的上一页。
Public methodZoom 更改 CrystalReportViewer 控件的放大倍数。
Top

 事件说明
Public eventDrill 当向下钻取报表时事件激活。
Public eventDrillDownSubreport 当用户向下钻取子报表时事件激活。
Public eventError 当 CrystalReportViewer 控件中出现错误时激发事件。
Public eventHandleException 当 CrystalReportViewer 控件中出现异常时事件激活。
Public eventNavigate 当用户浏览报表时事件激活。
Public eventReportRefresh 当刷新报表中的数据时事件激活。
Public eventSearch 在报表中搜索文本时事件激活。
Public eventViewZoom 当更改 CrystalReportViewer 控件的缩放比例时事件激活。
Top
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值