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 命名空間