包装用于 ReportViewer 控件的方法和属性。
命名空间: Microsoft.Reporting.WinForms
程序集: Microsoft.ReportViewer.WinForms(在 Microsoft.ReportViewer.WinForms.dll 中)
语法
<DockingAttribute(DockingBehavior.Ask)> _
Public Class ReportViewer _
Inherits UserControl
Dim instance As ReportViewer
- [DockingAttribute(DockingBehavior.Ask)]
- public class ReportViewer : UserControl
[DockingAttribute(DockingBehavior::Ask)]
public ref class ReportViewer : public UserControl
[<DockingAttribute(DockingBehavior.Ask)>]
type ReportViewer =
class
inherit UserControl
end
public class ReportViewer extends UserControl
ReportViewer 类型公开以下成员。
构造函数
页首
名称 | 说明 | |
---|---|---|
ReportViewer | 构造一个 ReportViewer 对象。 |
属性
名称 | 说明 | |
---|---|---|
AccessibilityObject | (从 Control 继承。) | |
AccessibleDefaultActionDescription | (从 Control 继承。) | |
AccessibleDescription | (从 Control 继承。) | |
AccessibleName | (从 Control 继承。) | |
AccessibleRole | (从 Control 继承。) | |
ActiveControl | (从 ContainerControl 继承。) | |
AllowDrop | (从 Control 继承。) | |
Anchor | (从 Control 继承。) | |
AutoScaleDimensions | (从 ContainerControl 继承。) | |
AutoScaleFactor | (从 ContainerControl 继承。) | |
AutoScaleMode | (从 ContainerControl 继承。) | |
AutoScroll | (从 ScrollableControl 继承。) | |
AutoScrollMargin | (从 ScrollableControl 继承。) | |
AutoScrollMinSize | (从 ScrollableControl 继承。) | |
AutoScrollOffset | (从 Control 继承。) | |
AutoScrollPosition | (从 ScrollableControl 继承。) | |
AutoSize | (从 UserControl 继承。) | |
AutoSizeMode | (从 UserControl 继承。) | |
AutoValidate | (从 UserControl 继承。) | |
BackColor | 获取或设置控件的报表区域的背景色。 (覆盖 Control..::.BackColor。) | |
BackgroundImage | 获取或设置 ReportViewer 控件的背景图像。 (覆盖 Control..::.BackgroundImage。) | |
BackgroundImageLayout | 获取或设置 ReportViewer 控件的背景图像的布局。 (覆盖 Control..::.BackgroundImageLayout。) | |
BindingContext | (从 ContainerControl 继承。) | |
BorderStyle | 获取或设置 ReportViewer 控件的边框样式。 | |
Bottom | (从 Control 继承。) | |
Bounds | (从 Control 继承。) | |
CanEnableIme | (从 ContainerControl 继承。) | |
CanFocus | (从 Control 继承。) | |
CanRaiseEvents | (从 Control 继承。) | |
CanSelect | (从 Control 继承。) | |
Capture | (从 Control 继承。) | |
CausesValidation | (从 Control 继承。) | |
ClientRectangle | (从 Control 继承。) | |
ClientSize | (从 Control 继承。) | |
CompanyName | (从 Control 继承。) | |
Container | (从 Component 继承。) | |
ContainsFocus | (从 Control 继承。) | |
ContextMenu | (从 Control 继承。) | |
ContextMenuStrip | (从 Control 继承。) | |
Controls | (从 Control 继承。) | |
Created | (从 Control 继承。) | |
CreateParams | (从 UserControl 继承。) | |
CurrentAutoScaleDimensions | (从 ContainerControl 继承。) | |
CurrentPage | 获取或设置 ReportViewer 控件的活动报表的当前页。 | |
CurrentStatus | 获取一个 ReportViewerStatus 对象,该对象指示当前可以在“ReportViewer”控件中执行的操作、提示区域的状态和文档结构图区域的状态。 | |
Cursor | (从 Control 继承。) | |
DataBindings | (从 Control 继承。) | |
DefaultCursor | (从 Control 继承。) | |
DefaultImeMode | (从 Control 继承。) | |
DefaultMargin | (从 Control 继承。) | |
DefaultMaximumSize | (从 Control 继承。) | |
DefaultMinimumSize | (从 Control 继承。) | |
DefaultPadding | (从 Control 继承。) | |
DefaultSize | (从 UserControl 继承。) | |
DesignMode | (从 Component 继承。) | |
DisplayMode | 获取一个 DisplayMode 值,该值指示“ReportViewer”控件的当前显示模式。 | |
DisplayRectangle | (从 ScrollableControl 继承。) | |
Disposing | (从 Control 继承。) | |
Dock | (从 Control 继承。) | |
DockPadding | (从 ScrollableControl 继承。) | |
DocumentMapCollapsed | 获取或设置文档结构图的折叠状态。 | |
DocumentMapWidth | 获取或设置文档结构图的宽度(以像素为单位)。 | |
DoubleBuffered | (从 Control 继承。) | |
Enabled | (从 Control 继承。) | |
Events | (从 Component 继承。) | |
Focused | (从 Control 继承。) | |
Font | (从 Control 继承。) | |
FontHeight | (从 Control 继承。) | |
ForeColor | (从 Control 继承。) | |
Handle | (从 Control 继承。) | |
HasChildren | (从 Control 继承。) | |
Height | (从 Control 继承。) | |
HorizontalScroll | (从 ScrollableControl 继承。) | |
HScroll | (从 ScrollableControl 继承。) | |
ImeMode | (从 Control 继承。) | |
ImeModeBase | (从 Control 继承。) | |
InvokeRequired | (从 Control 继承。) | |
IsAccessible | (从 Control 继承。) | |
IsDisposed | (从 Control 继承。) | |
IsDocumentMapWidthFixed | 指示文档结构图面板的大小是固定的还是在查看器大小调整时相应变化。 | |
IsHandleCreated | (从 Control 继承。) | |
IsMirrored | (从 Control 继承。) | |
KeepSessionAlive | 获取或设置一个 Boolean 值,该值指示是否在“ReportViewer”运行期间阻止报表服务器会话过期。 | |
LayoutEngine | (从 Control 继承。) | |
Left | (从 Control 继承。) | |
LocalReport | 返回 ReportViewer 控件中的本地报表。 | |
Location | (从 Control 继承。) | |
Margin | (从 Control 继承。) | |
MaximumSize | (从 Control 继承。) | |
Messages | 获取或设置一个对象,该对象包含由 ReportViewer 控件使用的自定义消息。 | |
MinimumSize | (从 Control 继承。) | |
Name | (从 Control 继承。) | |
Padding | (从 Control 继承。) | |
PageCountMode | 获取或设置一个 PageCountMode 枚举值,该值指示当在报表区域中呈现报表时使用的默认页计数模式。 | |
Parent | (从 Control 继承。) | |
ParentForm | (从 ContainerControl 继承。) | |
PreferredSize | (从 Control 继承。) | |
PrinterSettings | 获取或设置一个 PrinterSettings 对象,该对象包含默认打印机的设置和用于初始化“打印”对话框和打印机的“首选项”对话框的打印选项。 | |
ProcessingMode | 获取或设置 ReportViewer 控件的处理模式。 | |
ProductName | (从 Control 继承。) | |
ProductVersion | (从 Control 继承。) | |
PromptAreaCollapsed | 获取或设置参数提示区域或凭据提示区域的折叠状态。 | |
RecreatingHandle | (从 Control 继承。) | |
Region | (从 Control 继承。) | |
RenderRightToLeft | 已过时。 (从 Control 继承。) | |
ResizeRedraw | (从 Control 继承。) | |
Right | (从 Control 继承。) | |
RightToLeft | (从 Control 继承。) | |
ScaleChildren | (从 Control 继承。) | |
SearchState | 获取当前报表搜索操作的搜索文本和开始页。 | |
ServerReport | 获取报表查看器中的服务器报表。 | |
ShowBackButton | 指示“上一步”按钮在控件中是否可见。 | |
ShowContextMenu | 指示“上下文”菜单是否可见。 | |
ShowCredentialPrompts | 指示是否将显示用户凭据的提示。 | |
ShowDocumentMapButton | 指示用于显示和折叠文档结构图的按钮在拆分栏上是否可见。 | |
ShowExportButton | 指示“导出”按钮在控件中是否可见。 | |
ShowFindControls | 指示“查找”文本框在控件中是否可见。 | |
ShowFocusCues | (从 Control 继承。) | |
ShowKeyboardCues | (从 Control 继承。) | |
ShowPageNavigationControls | 指示页导航控件是否可见。 | |
ShowParameterPrompts | 指示参数提示是否可见。 | |
ShowPrintButton | 获取或设置一个指示“打印”按钮是否可见的值。 | |
ShowProgress | 指示在报表处理期间是否显示进度动画。 | |
ShowPromptAreaButton | 指示用于显示和折叠提示区域的按钮在拆分栏上是否可见。 | |
ShowRefreshButton | 指示“刷新”按钮是否可见。 | |
ShowStopButton | 指示“停止”按钮是否可见。 | |
ShowToolBar | 指示工具栏是否可见。 | |
ShowZoomControl | 指示“缩放”列表框是否可见。 | |
Site | (从 Control 继承。) | |
Size | (从 Control 继承。) | |
TabIndex | (从 Control 继承。) | |
TabStop | (从 Control 继承。) | |
Tag | (从 Control 继承。) | |
Text | (从 UserControl 继承。) | |
ToolStripRenderer | 获取或设置用于自定义“ReportViewer”控件工具栏以及报表上下文菜单的外观的 ToolStripRenderer。 | |
Top | (从 Control 继承。) | |
TopLevelControl | (从 Control 继承。) | |
UseWaitCursor | (从 Control 继承。) | |
VerticalScroll | (从 ScrollableControl 继承。) | |
Visible | (从 Control 继承。) | |
VScroll | (从 ScrollableControl 继承。) | |
WaitControlDisplayAfter | 获取或设置向用户显示忙状态指示器之前的延迟(以毫秒为单位)。 | |
Width | (从 Control 继承。) | |
WindowTarget | (从 Control 继承。) | |
ZoomCalculated | 获取基于缩放模式计算的页面缩放。 | |
ZoomMode | 获取或设置控件的缩放模式。 | |
ZoomPercent | 获取或设置用于报表显示的缩放百分比。 |
方法
注释
该控件显示报表及其关联的用户界面。
该控件可以本地处理模式或远程处理模式工作。在本地处理模式中,控件在本地处理和呈现报表。在远程处理模式中,报表在报表服务器上处理,而在本地显示。远程处理模式需要报表服务器的 Microsoft SQL Server 2008 或更高版本实例。
线程安全
此类型的任何公共
static(在 Visual Basic 中为
Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。