CrystalReportPartsViewer 類別
提供屬性、方法及事件,用來修改或擷取有關 CrystalReportPartsViewer 控制項出現及作用方式的資訊。
命名空間 CrystalDecisions.Web 組件 CrystalDecisions.Web (CrystalDecisions.Web.dll)
語法
Public Class CrystalReportPartsViewer
Inherits CrystalReportViewerBase
Implements IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IPostBackEventHandler, INamingContainer
public class CrystalReportPartsViewer : CrystalReportViewerBase, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IPostBackEventHandler, INamingContainer
範例
這個範例顯示如何初始化 CrystalReportPartsViewer。
Private Sub InitializeWebReportPartsViewer(ByVal myBatchSize As Integer)
CrystalReportPartsViewer.BatchSize = myBatchSize
CrystalReportPartsViewer.EnableDrillDown = True
CrystalReportPartsViewer.EnableParameterPrompt = True
CrystalReportPartsViewer.EnableToolTips = True
CrystalReportPartsViewer.HasBorder = True
CrystalReportPartsViewer.HasPageNavigationLinks = True
CrystalReportPartsViewer.IsDisplayHeadings = True
CrystalReportPartsViewer.IsDisplayTitle = True
CrystalReportPartsViewer.PreserveLayout = True
CrystalReportPartsViewer.ReuseParameterValuesOnRefresh = True
CrystalReportPartsViewer.RotateSections = True
CrystalReportPartsViewer.ZoomFactor = 100
End Sub
private void InitializeWebReportPartsViewer(int batchSize)
{
crystalReportPartsViewer.BatchSize = batchSize;
crystalReportPartsViewer.EnableDrillDown = true;
crystalReportPartsViewer.EnableParameterPrompt = true;
crystalReportPartsViewer.EnableToolTips = true;
crystalReportPartsViewer.HasBorder = true;
crystalReportPartsViewer.HasPageNavigationLinks = true;
crystalReportPartsViewer.IsDisplayHeadings = true;
crystalReportPartsViewer.IsDisplayTitle = true;
crystalReportPartsViewer.PreserveLayout = true;
crystalReportPartsViewer.ReuseParameterValuesOnRefresh = true;
crystalReportPartsViewer.RotateSections = true;
crystalReportPartsViewer.ZoomFactor = 100;
}
繼承階層
BaseDataBoundControl
DataBoundControl
Object
Control
WebControl
CrystalReportViewerBase
CrystalReportPartsViewer
版本資訊
Crystal Reports Basic for Visual Studio 2008
自從 Crystal Reports .NET 9 開始支援