封裝 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 型別公開下列成員。
建構函式
| 名稱 | 說明 | |
|---|---|---|
![]() |
ReportViewer | 建構 ReportViewer 物件。 |
上層
屬性
上層
方法
上層
事件
上層
欄位
| 名稱 | 說明 | |
|---|---|---|
![]() ![]() |
MaximumPageCount | 常數,表示目前的頁面計數模式為 Estimate 時,報表中的最大頁數。 |
上層
明確 繼承 實作
| 名稱 | 說明 | |
|---|---|---|
![]() ![]() |
IContainerControl.ActivateControl | (繼承自 ContainerControl。) |
![]() ![]() |
IDropTarget.OnDragDrop | (繼承自 Control。) |
![]() ![]() |
IDropTarget.OnDragEnter | (繼承自 Control。) |
![]() ![]() |
IDropTarget.OnDragLeave | (繼承自 Control。) |
![]() ![]() |
IDropTarget.OnDragOver | (繼承自 Control。) |
上層
備註
這個控制項會顯示報表及其相關聯的使用者介面。
控制項能夠以本機或遠端處理模式來運作。在本機處理模式中,控制項會在本機處理及轉譯報表。在遠端處理模式中,則是在報表伺服器處理並且在本機顯示。遠端處理模式需要 Microsoft SQL Server 2008 (含) 以後版本的報表伺服器執行個體。
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)