ReportViewer 类
包装用于 ReportViewer 控件的方法和属性。
继承层次结构
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.UserControl
Microsoft.Reporting.WinForms.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 类型公开以下成员。
构造函数
页首
属性
页首
方法
|
AccessibilityNotifyClients(AccessibleEvents, Int32) |
(从 Control 继承。) |
|
AccessibilityNotifyClients(AccessibleEvents, Int32, Int32) |
(从 Control 继承。) |
|
AdjustFormScrollbars |
(从 ContainerControl 继承。) |
|
BeginInvoke(Delegate) |
(从 Control 继承。) |
|
BeginInvoke(Delegate, array<Object[]) |
(从 Control 继承。) |
|
BringToFront |
(从 Control 继承。) |
|
CancelRendering |
停止报表的背景处理。 |
|
Clear |
清除报表视图,并用控件的背景色填充它。 |
|
Contains |
(从 Control 继承。) |
|
CreateAccessibilityInstance |
(从 Control 继承。) |
|
CreateControl |
(从 Control 继承。) |
|
CreateControlsInstance |
(从 Control 继承。) |
|
CreateGraphics |
(从 Control 继承。) |
|
CreateHandle |
(从 Control 继承。) |
|
CreateObjRef |
(从 MarshalByRefObject 继承。) |
|
DefWndProc |
(从 Control 继承。) |
|
DestroyHandle |
(从 Control 继承。) |
|
Dispose() |
(从 Component 继承。) |
|
Dispose(Boolean) |
基础结构。 (覆盖 ContainerControl.Dispose(Boolean)。) |
|
DoDragDrop |
(从 Control 继承。) |
|
DrawToBitmap |
(从 Control 继承。) |
|
EndInvoke |
(从 Control 继承。) |
|
Equals |
(从 Object 继承。) |
|
ExportDialog(RenderingExtension) |
将在特定呈现扩展插件的“导出”对话框中打开。 |
|
ExportDialog(RenderingExtension, String) |
将在特定呈现扩展插件的“导出”对话框中打开。 |
|
ExportDialog(RenderingExtension, String, String) |
将在特定呈现扩展插件的“导出”对话框中打开,并指定设备信息,将导出的报表保存到具有指定文件名的文件。 |
|
Finalize |
(从 Component 继承。) |
|
Find |
在报表中搜索指定的文本字符串。 |
|
FindForm |
(从 Control 继承。) |
|
FindNext |
继续搜索指定的文本字符串。 |
|
Focus |
(从 Control 继承。) |
|
GetAccessibilityObjectById |
(从 Control 继承。) |
|
GetAutoSizeMode |
(从 Control 继承。) |
|
GetChildAtPoint(Point) |
(从 Control 继承。) |
|
GetChildAtPoint(Point, GetChildAtPointSkip) |
(从 Control 继承。) |
|
GetContainerControl |
(从 Control 继承。) |
|
GetHashCode |
(从 Object 继承。) |
|
GetLifetimeService |
(从 MarshalByRefObject 继承。) |
|
GetNextControl |
(从 Control 继承。) |
|
GetPageSettings |
返回在“ReportViewer”控件中用于打印当前报表或在打印布局模式下显示当前报表的页设置。 |
|
GetPreferredSize |
(从 Control 继承。) |
|
GetScaledBounds |
(从 Control 继承。) |
|
GetScrollState |
(从 ScrollableControl 继承。) |
|
GetService |
(从 Component 继承。) |
|
GetStyle |
(从 Control 继承。) |
|
GetTopLevel |
(从 Control 继承。) |
|
GetTotalPages() |
返回报表中的总页数。 |
|
GetTotalPages(PageCountMode%) |
返回报表的页面计数以及用于指示页面计数为估计值还是实际值的 PageCountMode 值。 |
|
GetType |
(从 Object 继承。) |
|
Hide |
(从 Control 继承。) |
|
InitializeLifetimeService |
(从 MarshalByRefObject 继承。) |
|
InitLayout |
(从 Control 继承。) |
|
Invalidate() |
(从 Control 继承。) |
|
Invalidate(Region) |
(从 Control 继承。) |
|
Invalidate(Boolean) |
(从 Control 继承。) |
|
Invalidate(Rectangle) |
(从 Control 继承。) |
|
Invalidate(Region, Boolean) |
(从 Control 继承。) |
|
Invalidate(Rectangle, Boolean) |
(从 Control 继承。) |
|
Invoke(Delegate) |
(从 Control 继承。) |
|
Invoke(Delegate, array<Object[]) |
(从 Control 继承。) |
|
InvokeGotFocus |
(从 Control 继承。) |
|
InvokeLostFocus |
(从 Control 继承。) |
|
InvokeOnClick |
(从 Control 继承。) |
|
InvokePaint |
(从 Control 继承。) |
|
InvokePaintBackground |
(从 Control 继承。) |
|
IsInputChar |
(从 Control 继承。) |
|
IsInputKey |
(从 Control 继承。) |
|
JumpToBookmark |
将报表移至指定的书签。 |
|
JumpToDocumentMapId |
移至文档结构图的指定区域。 |
|
MemberwiseClone() |
(从 Object 继承。) |
|
MemberwiseClone(Boolean) |
(从 MarshalByRefObject 继承。) |
|
NotifyInvalidate |
(从 Control 继承。) |
|
OnAutoSizeChanged |
(从 Control 继承。) |
|
OnAutoValidateChanged |
(从 ContainerControl 继承。) |
|
OnBackColorChanged |
(从 Control 继承。) |
|
OnBackgroundImageChanged |
(从 Control 继承。) |
|
OnBackgroundImageLayoutChanged |
(从 Control 继承。) |
|
OnBindingContextChanged |
(从 Control 继承。) |
|
OnCausesValidationChanged |
(从 Control 继承。) |
|
OnChangeUICues |
(从 Control 继承。) |
|
OnClick |
(从 Control 继承。) |
|
OnClientSizeChanged |
(从 Control 继承。) |
|
OnContextMenuChanged |
(从 Control 继承。) |
|
OnContextMenuStripChanged |
(从 Control 继承。) |
|
OnControlAdded |
(从 Control 继承。) |
|
OnControlRemoved |
(从 Control 继承。) |
|
OnCreateControl |
(从 UserControl 继承。) |
|
OnCursorChanged |
(从 Control 继承。) |
|
OnDockChanged |
(从 Control 继承。) |
|
OnDoubleClick |
(从 Control 继承。) |
|
OnDragDrop |
(从 Control 继承。) |
|
OnDragEnter |
(从 Control 继承。) |
|
OnDragLeave |
(从 Control 继承。) |
|
OnDragOver |
(从 Control 继承。) |
|
OnEnabledChanged |
(从 Control 继承。) |
|
OnEnter |
(从 Control 继承。) |
|
OnFontChanged |
(从 ContainerControl 继承。) |
|
OnForeColorChanged |
(从 Control 继承。) |
|
OnGiveFeedback |
(从 Control 继承。) |
|
OnGotFocus |
(从 Control 继承。) |
|
OnHandleCreated |
(从 Control 继承。) |
|
OnHandleDestroyed |
(从 Control 继承。) |
|
OnHelpRequested |
(从 Control 继承。) |
|
OnImeModeChanged |
(从 Control 继承。) |
|
OnInvalidated |
(从 Control 继承。) |
|
OnKeyDown |
(从 Control 继承。) |
|
OnKeyPress |
(从 Control 继承。) |
|
OnKeyUp |
(从 Control 继承。) |
|
OnLayout |
基础结构。 (覆盖 ContainerControl.OnLayout(LayoutEventArgs)。) |
|
OnLeave |
(从 Control 继承。) |
|
OnLoad |
基础结构。 (覆盖 UserControl.OnLoad(EventArgs)。) |
|
OnLocationChanged |
(从 Control 继承。) |
|
OnLostFocus |
(从 Control 继承。) |
|
OnMarginChanged |
(从 Control 继承。) |
|
OnMouseCaptureChanged |
(从 Control 继承。) |
|
OnMouseClick |
(从 Control 继承。) |
|
OnMouseDoubleClick |
(从 Control 继承。) |
|
OnMouseDown |
(从 UserControl 继承。) |
|
OnMouseEnter |
(从 Control 继承。) |
|
OnMouseHover |
(从 Control 继承。) |
|
OnMouseLeave |
(从 Control 继承。) |
|
OnMouseMove |
(从 Control 继承。) |
|
OnMouseUp |
(从 Control 继承。) |
|
OnMouseWheel |
(从 ScrollableControl 继承。) |
|
OnMove |
(从 Control 继承。) |
|
OnNotifyMessage |
(从 Control 继承。) |
|
OnPaddingChanged |
(从 ScrollableControl 继承。) |
|
OnPaint |
(从 Control 继承。) |
|
OnPaintBackground |
(从 ScrollableControl 继承。) |
|
OnParentBackColorChanged |
(从 Control 继承。) |
|
OnParentBackgroundImageChanged |
(从 Control 继承。) |
|
OnParentBindingContextChanged |
(从 Control 继承。) |
|
OnParentChanged |
(从 ContainerControl 继承。) |
|
OnParentCursorChanged |
(从 Control 继承。) |
|
OnParentEnabledChanged |
(从 Control 继承。) |
|
OnParentFontChanged |
(从 Control 继承。) |
|
OnParentForeColorChanged |
(从 Control 继承。) |
|
OnParentRightToLeftChanged |
(从 Control 继承。) |
|
OnParentVisibleChanged |
(从 Control 继承。) |
|
OnPreviewKeyDown |
(从 Control 继承。) |
|
OnPrint |
(从 Control 继承。) |
|
OnQueryContinueDrag |
(从 Control 继承。) |
|
OnRegionChanged |
(从 Control 继承。) |
|
OnResize |
(从 UserControl 继承。) |
|
OnRightToLeftChanged |
(从 ScrollableControl 继承。) |
|
OnScroll |
(从 ScrollableControl 继承。) |
|
OnSizeChanged |
(从 Control 继承。) |
|
OnStyleChanged |
(从 Control 继承。) |
|
OnSystemColorsChanged |
(从 Control 继承。) |
|
OnTabIndexChanged |
(从 Control 继承。) |
|
OnTabStopChanged |
(从 Control 继承。) |
|
OnTextChanged |
(从 Control 继承。) |
|
OnValidated |
(从 Control 继承。) |
|
OnValidating |
(从 Control 继承。) |
|
OnVisibleChanged |
(从 ScrollableControl 继承。) |
|
PageSetupDialog |
打开页面设置对话框。 |
|
PerformAutoScale |
(从 ContainerControl 继承。) |
|
PerformBack |
通过报表查看器控件从钻取报表导航返回至父报表。 |
|
PerformLayout() |
(从 Control 继承。) |
|
PerformLayout(Control, String) |
(从 Control 继承。) |
|
PointToClient |
(从 Control 继承。) |
|
PointToScreen |
(从 Control 继承。) |
|
PreProcessControlMessage |
(从 Control 继承。) |
|
PreProcessMessage |
(从 Control 继承。) |
|
PrintDialog() |
显示“打印”对话框。 |
|
PrintDialog(PrinterSettings) |
显示“打印”对话框。 |
|
ProcessCmdKey |
(从 ContainerControl 继承。) |
|
ProcessDialogChar |
(从 ContainerControl 继承。) |
|
ProcessDialogKey |
(从 ContainerControl 继承。) |
|
ProcessKeyEventArgs |
(从 Control 继承。) |
|
ProcessKeyMessage |
(从 Control 继承。) |
|
ProcessKeyPreview |
(从 Control 继承。) |
|
ProcessMnemonic |
(从 ContainerControl 继承。) |
|
ProcessTabKey |
(从 ContainerControl 继承。) |
|
RaiseDragEvent |
(从 Control 继承。) |
|
RaiseKeyEvent |
(从 Control 继承。) |
|
RaiseMouseEvent |
(从 Control 继承。) |
|
RaisePaintEvent |
(从 Control 继承。) |
|
RecreateHandle |
(从 Control 继承。) |
|
RectangleToClient |
(从 Control 继承。) |
|
RectangleToScreen |
(从 Control 继承。) |
|
Refresh |
(从 Control 继承。) |
|
RefreshReport |
导致处理和呈现报表查看器中的当前报表。 |
|
Reset |
将控件重置为其默认值。 |
|
ResetBackColor |
(从 Control 继承。) |
|
ResetBindings |
(从 Control 继承。) |
|
ResetCursor |
(从 Control 继承。) |
|
ResetFont |
(从 Control 继承。) |
|
ResetForeColor |
(从 Control 继承。) |
|
ResetImeMode |
(从 Control 继承。) |
|
ResetMouseEventArgs |
(从 Control 继承。) |
|
ResetPageSettings |
将“ReportViewer”控件中当前报表的页设置还原为报表定义中的设置。 |
|
ResetRightToLeft |
(从 Control 继承。) |
|
ResetText |
(从 Control 继承。) |
|
ResumeLayout() |
(从 Control 继承。) |
|
ResumeLayout(Boolean) |
(从 Control 继承。) |
|
RtlTranslateAlignment(HorizontalAlignment) |
(从 Control 继承。) |
|
RtlTranslateAlignment(LeftRightAlignment) |
(从 Control 继承。) |
|
RtlTranslateAlignment(ContentAlignment) |
(从 Control 继承。) |
|
RtlTranslateContent |
(从 Control 继承。) |
|
RtlTranslateHorizontal |
(从 Control 继承。) |
|
RtlTranslateLeftRight |
(从 Control 继承。) |
|
Scale(Single) |
已过时。 (从 Control 继承。) |
|
Scale(SizeF) |
(从 Control 继承。) |
|
Scale(Single, Single) |
已过时。 (从 Control 继承。) |
|
ScaleControl |
(从 ScrollableControl 继承。) |
|
ScaleCore |
(从 ScrollableControl 继承。) |
|
ScrollControlIntoView |
(从 ScrollableControl 继承。) |
|
ScrollToControl |
(从 ScrollableControl 继承。) |
|
Select() |
(从 Control 继承。) |
|
Select(Boolean, Boolean) |
(从 ContainerControl 继承。) |
|
SelectNextControl |
(从 Control 继承。) |
|
SendToBack |
(从 Control 继承。) |
|
SetAutoScrollMargin |
(从 ScrollableControl 继承。) |
|
SetAutoSizeMode |
(从 Control 继承。) |
|
SetBounds(Int32, Int32, Int32, Int32) |
(从 Control 继承。) |
|
SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified) |
(从 Control 继承。) |
|
SetBoundsCore |
(从 Control 继承。) |
|
SetClientSizeCore |
(从 Control 继承。) |
|
SetDisplayMode |
将控件显示设置为正常模式或打印预览模式。 |
|
SetDisplayRectLocation |
(从 ScrollableControl 继承。) |
|
SetPageSettings |
设置在“ReportViewer”控件中用于打印当前报表或在打印布局模式下显示当前报表的页设置。 |
|
SetScrollState |
(从 ScrollableControl 继承。) |
|
SetStyle |
(从 Control 继承。) |
|
SetTopLevel |
(从 Control 继承。) |
|
SetVisibleCore |
(从 Control 继承。) |
|
Show |
(从 Control 继承。) |
|
SizeFromClientSize |
(从 Control 继承。) |
|
SuspendLayout |
(从 Control 继承。) |
|
ToString |
(从 Component 继承。) |
|
Update |
(从 Control 继承。) |
|
UpdateBounds() |
(从 Control 继承。) |
|
UpdateBounds(Int32, Int32, Int32, Int32) |
(从 Control 继承。) |
|
UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32) |
(从 Control 继承。) |
|
UpdateDefaultButton |
(从 ContainerControl 继承。) |
|
UpdateStyles |
(从 Control 继承。) |
|
UpdateZOrder |
(从 Control 继承。) |
|
Validate() |
(从 ContainerControl 继承。) |
|
Validate(Boolean) |
(从 ContainerControl 继承。) |
|
ValidateChildren() |
(从 UserControl 继承。) |
|
ValidateChildren(ValidationConstraints) |
(从 UserControl 继承。) |
|
WndProc |
(从 UserControl 继承。) |
页首
事件
页首
字段
页首
显式接口实现
页首
注释
该控件显示报表及其关联的用户界面。
该控件可以本地处理模式或远程处理模式工作。在本地处理模式中,控件在本地处理和呈现报表。在远程处理模式中,报表在报表服务器上处理,而在本地显示。远程处理模式需要报表服务器的 Microsoft SQL Server 2008 或更高版本实例。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。
请参阅
参考
Microsoft.Reporting.WinForms 命名空间